Furthermore, innobackupex returns 0 if both options are supplied but the backup is not prepared, which can be very bad if this invocation is wrapped in some other script:
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
Get the latest version of Percona XtraBackup, documentation, and help resources: http://www.percona.com/xb/p
IMPORTANT: Please check that the decryption and decompression run completes successfully.
At the end of a successful decryption and decompression run innobackupex
prints "completed OK!".
Furthermore, innobackupex returns 0 if both options are supplied but the backup is not prepared, which can be very bad if this invocation is wrapped in some other script:
root@ps56 ~]# innobackupex --decompress --apply-log /backups/ 2014-10- 02_13-17- 55/ && echo ok || echo error
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
Get the latest version of Percona XtraBackup, documentation, and help resources: www.percona. com/xb/ p
http://
IMPORTANT: Please check that the decryption and decompression run completes successfully.
At the end of a successful decryption and decompression run innobackupex
prints "completed OK!".
innobackupex: qpress -do /backups/ 2014-10- 02_13-17- 55/ibdata1. qp > /backups/ 2014-10- 02_13-17- 55/ibdata1 2014-10- 02_13-17- 55/ahi_ scan_test_ case/to_ read.ibd. qp > /backups/ 2014-10- 02_13-17- 55/ahi_ scan_test_ case/to_ read.ibd 2014-10- 02_13-17- 55/ahi_ scan_test_ case/to_ drop.ibd. qp > /backups/ 2014-10- 02_13-17- 55/ahi_ scan_test_ case/to_ drop.ibd 2014-10- 02_13-17- 55/test/ test.ibd. qp > /backups/ 2014-10- 02_13-17- 55/test/ test.ibd 2014-10- 02_13-17- 55/mysql/ slave_relay_ log_info. ibd.qp > /backups/ 2014-10- 02_13-17- 55/mysql/ slave_relay_ log_info. ibd 2014-10- 02_13-17- 55/mysql/ slave_worker_ info.ibd. qp > /backups/ 2014-10- 02_13-17- 55/mysql/ slave_worker_ info.ibd 2014-10- 02_13-17- 55/mysql/ innodb_ index_stats. ibd.qp > /backups/ 2014-10- 02_13-17- 55/mysql/ innodb_ index_stats. ibd 2014-10- 02_13-17- 55/mysql/ innodb_ table_stats. ibd.qp > /backups/ 2014-10- 02_13-17- 55/mysql/ innodb_ table_stats. ibd 2014-10- 02_13-17- 55/mysql/ slave_master_ info.ibd. qp > /backups/ 2014-10- 02_13-17- 55/mysql/ slave_master_ info.ibd
innobackupex: qpress -do /backups/
innobackupex: qpress -do /backups/
innobackupex: qpress -do /backups/
innobackupex: qpress -do /backups/
innobackupex: qpress -do /backups/
innobackupex: qpress -do /backups/
innobackupex: qpress -do /backups/
innobackupex: qpress -do /backups/
141002 13:18:13 innobackupex: completed OK!
ok