Possible Duplicate:
What is the best way to do Incremental backups in Mysql?
Is there a way to do differential incremental backup in MySQL ? I dont know if there is a PHP script or shell script able to do this.
I believe each tables states must be saved and their differences must be exported in the backup. Any way to accomplish this?
I know there are other types of backup but I like the way smallers backup are generated at time in differential incremental backups.
Edit:
I forgot to specify that my DB engine is InnoDB
Incremental backups of MySQL, specifically for the InnoDB engine, are taken by copying modified pages from the previous backup. The brute force method takes backups by scanning every page in tablespace file in the server data directory is an expensive operation.
An Incremental Backup only backs up the difference since the previous FULL and subsequent incremental backups. DeDuplication only backs up blocks (or fingerprints) it does not currently have.
An incremental backup is a backup type that only copies data that has been changed or created since the previous backup activity was conducted. An incremental backup approach is used when the amount of data that has to be protected is too voluminous to do a full backup of that data every day.
Yes, is called incremental backup instead of differential backup
(correct me if I making wrong assumption)
use binary log (replication sql log)
in nutshell, binary log contains list of write sql (insert,delete,update,alter table...) and execute these statement sequentially will provide a incremental update (which is what replication does)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With