deviantony / xtrabackup-scripts

Wrapper scripts (Python) for the Percona Xtrabackup tool.
http://www.percona.com/doc/percona-xtrabackup
110 stars 46 forks source link

Bubble up innobackupex errors #3

Closed castro1688 closed 9 years ago

castro1688 commented 9 years ago

Unless i'm mistaken, the log file is almost useless when trying to debug why a backup failed.

The shows: 2014-10-21T18:52:40+0000 - An exception occured while trying to use innobackupex. - Status: FAILED

Now I have no idea of actually seeing what xtrabackup/innobackupex actually failed with.

Could we have the actually error from the underlying command displayed? In my own case, I was running out of disk space.

deviantony commented 9 years ago

You're right, I've added a verbose option to the scripts in order to debug it but no information is really displayed in the log file besides the backup time. I should review that.

deviantony commented 9 years ago

The current version (3.0.0b1) is now logging an error for each backup phasis + the stderr output.