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

quickbackup-percona fails to detect xbstream format correctly #18

Open
shaneiseminger opened this issue May 8, 2015 · 0 comments
Open

Comments

@shaneiseminger
Copy link

When attempting to restore an xbstream backup:

$ sudo quickbackup-percona restore /home/admin/2015-05-08_12-00-00-backup.xbs - Restore from /home/admin/2015-05-08_12-00-00-backup.xbs

ERROR - /home/admin/2015-05-08_12-00-00-backup.xbs appears to not be xbstream format.
Check that your quickbackup/stream setting is set to the type of file
you are trying to restore.

This definitely is an xbstream backup. The culprit is this line (line 321 in the version that came with my image):

[ `file ${RESTOREFILE} | awk '{ print $2 }'` != "data" ] && logerror "\nERROR - ${RESTOREFILE} appears to not be xbstream format.

When I comment it out the restore runs without issue.

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