A year and a half ago, I wrapped innobackupex in a script to get all of the control I needed to do my nightly backups. At that time, it seems (from memory) that the return code from innobackupex could not be trusted to be accurate and the preferred method was to look for the “innobackupex: completed OK!” string at the end of the log file. Is this still the case?
I’ve got a specific couple of servers that are constantly reporting failure, even though the backup actually completed successfully. I’m debugging my wrapper scripts now to try to find out what’s going on. I figured if it was possible to simplify things and rely on the return code, that would be the best approach.