admin-scripts
admin-scripts copied to clipboard
xtrabackup_51: not found
I tried your script "xtrabackup.sh". The backup works like expectet but I get a problem with the restore prodedure. The call
xtrabackup.sh restore 2015-06-30_09-12-47 tmp/xxx
results in the error
sh: 1: xtrabackup_51: not found
And indeed: my xtrabackup package (openSUSE) doesn't contain a program called "xtrabackup_51" anymore. In the next step I changed your script
from:
$INNOBACKUPEX_COMMAND --apply-log --ibbackup=xtrabackup_51 $DESTINATION &>> $LOG_FILE || fail
To:
$INNOBACKUPEX_COMMAND --apply-log $DESTINATION &>> $LOG_FILE || fail
After this change the restore prodedure works like expected.
The versions:
mysql --version
mysql Ver 15.1 Distrib 10.1.5-MariaDB, for Linux (i686) using EditLine wrapper
xtrabackup --version
xtrabackup version 2.2.11 based on MySQL server 5.6.24 Linux (i686) (revision id: )
Would it be a good idea to check the xtrabackup version inside your script and modify the restore call? Thanks in advance.
...Rolf