Hi,
I’m trying to write a backup script using innobackupex but I have problems determining that innobackupex ran successfully.
The log ends with the following output:
…
log scanned up to (9587670370542)
log scanned up to (9587670370542)
log scanned up to (9587670370542)
log scanned up to (9587670370542)
innobackupex: Error: Connection to mysql child process (pid=26032) timedout. (Time limit of 900 seconds exceeded. You may adjust time limit by editing the value of parameter “$mysql_response_timeout” in this script.) while waiting for reply to MySQL request: ‘FLUSH TABLES WITH READ LOCK;’ at /usr/bin/innobackupex line 381.
20130717 01:55:09: Backup finished (duration: 6608 seconds)
I check the return code of the innobackupex command but that is zero even though the command didn’t finish successfully.
Is this a known bug and what can I do to determine that the script actually ran ok?