Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtrabackup_51: not found #4

Open
rolfn opened this issue Jun 30, 2015 · 0 comments
Open

xtrabackup_51: not found #4

rolfn opened this issue Jun 30, 2015 · 0 comments

Comments

@rolfn
Copy link

rolfn commented Jun 30, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant