Hi,
Using Percona innobackupex-1.5.1 to do my MySQL backups. The process i have is as below:
1. Backup
/usr/bin/innobackupex-1.5.1 --user=username --password=password /alf_data/Backup/`date '+%d%m%y'`/2-MySQL/1-Percona-Backups > /alf_data/Backup/`date '+%d%m%y'`/logs/HotBackup.log
2. Prepare
/usr/bin/innobackupex-1.5.1 --user=username --password=password--apply-log /alf_data/Backup/`date '+%d%m%y'`/2-MySQL/1-Percona-Backups/* > /alf_data/Backup/`date '+%d%m%y'`/logs/Recovery-Prep.log
There is only one directory in the prepare folder as its moved out of this folder when the cronjob ends.
When the prepare is carried out i get the following output message stating that the MySQL database wasnt shutdown correctly and something wrong with the log files.
"InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
110324 12:24:23 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery."
I've uploaded the backup and prepare logs. Is this the right way of doing things?
Cheers, Ben
Using Percona innobackupex-1.5.1 to do my MySQL backups. The process i have is as below:
1. Backup
/usr/bin/innobackupex-1.5.1 --user=username --password=password /alf_data/Backup/`date '+%d%m%y'`/2-MySQL/1-Percona-Backups > /alf_data/Backup/`date '+%d%m%y'`/logs/HotBackup.log
2. Prepare
/usr/bin/innobackupex-1.5.1 --user=username --password=password--apply-log /alf_data/Backup/`date '+%d%m%y'`/2-MySQL/1-Percona-Backups/* > /alf_data/Backup/`date '+%d%m%y'`/logs/Recovery-Prep.log
There is only one directory in the prepare folder as its moved out of this folder when the cronjob ends.
When the prepare is carried out i get the following output message stating that the MySQL database wasnt shutdown correctly and something wrong with the log files.
"InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
110324 12:24:23 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery."
I've uploaded the backup and prepare logs. Is this the right way of doing things?
Cheers, Ben
Comment