views:

429

answers:

1

We are using MySql version 5.0 and most of the tables are INNODB. We run replication to a slave server.

We are thinking of backup the MySql log files on a dally bases.

QUESTIONS:

• Is there any other way of doing an Incremental backup without using the log files?

• What are the best practices when doing Incremental backups ?

+2  A: 

AFAIK the only way of doing incremental backups is by using the binary-log. You have other options if you want to do full backups (InnoDB hotcopy), but incremental means that you need to log all transactions made.

You need to ask yourself why you're backing up data. Since you have a slave for replication, I assume the backup is primarly for reverting data in case of accidental deletion?

I would probably rotate the logs every 1 hour and take a backup of it. Meaning, restoring would leave the data at most 1 hour old, and you can restore to any point in time since the last full snapshot.

jishi