Hello,
I try to use xtrabackup to create incremental backups on a test database.
Backups work with this commands :
innobackupex --user=backup --password=backup_password --use-memory=512M --no-lock --no-timestamp /root/work/backup/backup/16092014_150617_FULL
innobackupex --user=backup --password=backup_password --use-memory=512M --no-lock --no-timestamp --incremental /root/work/backup/backup/16092014_150711_INCR --incremental-basedir=/root/work/backup/backup/16092014_150617_FULL
innobackupex --user=backup --password=backup_password --use-memory=512M --no-lock --no-timestamp --incremental /root/work/backup/backup/16092014_150754_INCR --incremental-basedir=/root/work/backup/backup/16092014_150711_INCR
But I get an error in the preparation :
innobackupex --user=backup --password=backup_password --use-memory=512M --apply-log --redo-only /root/work/backup/backup/16092014_150617_FULL
innobackupex --user=backup --password=backup_password --use-memory=512M --apply-log --redo-only /root/work/backup/backup/16092014_150617_FULL --incremental-dir=/root/work/backup/backup/16092014_150711_INCR
innobackupex --user=backup --password=backup_password --use-memory=512M --apply-log --redo-only /root/work/backup/backup/16092014_150617_FULL --incremental-dir=/root/work/backup/backup/16092014_150754_INCR
innobackupex --user=backup --password=backup_password --use-memory=512M --apply-log /root/work/backup/backup/16092014_150617_FULL
[…]
[COLOR=#FF0000]2014-09-16 15:16:15 7f1bcf402720 InnoDB: Error: page 0 log sequence number 468352328
InnoDB: is in the future! Current system log sequence number 468343925.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: [url]http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html[/url]
InnoDB: for more information. […]
I have exactly the same error if I do :
innobackupex --user=backup --password=backup_password --use-memory=512M --no-lock --no-timestamp /root/work/backup/backup/16092014_150617_FULL
innobackupex --user=backup --password=backup_password --use-memory=512M --no-lock --no-timestamp --incremental /root/work/backup/backup/16092014_150711_INCR --incremental-basedir=/root/work/backup/backup/16092014_150617_FULL
innobackupex --user=backup --password=backup_password --use-memory=512M --no-lock --no-timestamp --incremental /root/work/backup/backup/16092014_150754_INCR --incremental-basedir=/root/work/backup/backup/16092014_150711_INCR
innobackupex --user=backup --password=backup_password --use-memory=512M --apply-log --redo-only /root/work/backup/backup/16092014_150617_FULL
innobackupex --user=backup --password=backup_password --use-memory=512M --apply-log --redo-only /root/work/backup/backup/16092014_150617_FULL --incremental-dir=/root/work/backup/backup/16092014_150711_INCR
innobackupex --user=backup --password=backup_password --use-memory=512M --apply-log /root/work/backup/backup/16092014_150617_FULL --incremental-dir=/root/work/backup/backup/16092014_150754_INCR
Did I forget a setting ? Does my backup is ok ?
Thank you in advance.