Does innobackupex return a useful code in the case of a backup failure of some kind?
I have looked for a list of return codes, but I have not found anything. It isn't documented in the scripts "--help" feature, either. I'm not a Perl guy. So, trying to read the script didn't help me any.
I'm using a PHP script to call the innobackupex script. I capture the return code from the exec() function and attempt to use it to handle any problems that might arise. For instance, I have a slave server that is failing to backup. Upon exiting from innobackupex, the SQL_THREAD is still shut down. So, I need to restart it. It does not appear that the return code I capture is useful for this purpose, though. I would just like to verify if the innobackupex script returns a useful code before I spend too much time debugging my PHP.
Thanks,
Dave
I have looked for a list of return codes, but I have not found anything. It isn't documented in the scripts "--help" feature, either. I'm not a Perl guy. So, trying to read the script didn't help me any.
I'm using a PHP script to call the innobackupex script. I capture the return code from the exec() function and attempt to use it to handle any problems that might arise. For instance, I have a slave server that is failing to backup. Upon exiting from innobackupex, the SQL_THREAD is still shut down. So, I need to restart it. It does not appear that the return code I capture is useful for this purpose, though. I would just like to verify if the innobackupex script returns a useful code before I spend too much time debugging my PHP.
Thanks,
Dave
Comment