Things I tend to forget


MySQL Incremental Backups

MySQL incremental backups can be acheived using the --log-bin option. For more information about that and for the original source of the following code, please see the mysql ref. manual.

Now to the code:
I added some logging to the script
[ad#ad-1]
#!/bin/bash
MODE=$1
MYSQLUSER=backup
FTPUSER=ftpuser
FTPPASS=ftppass
BINLOGPATH=/var/lib/mysql
BINLOGNAME=mysql-bin
ARCHIVEPATH=/var/data/backups/mysql/

Similar Posts:




Me and The Boss (formerly known as Ta2'oush)

The Boss, our cat, aka ta2’oush / minet / inta ya / etc… likes to cuddle in my lap as soon as I start working!

Here’s a pic Paypouy took earlier 🙂

The Rayiss & I

Similar Posts: