Skip to content

quickbackup-percona fails to detect xbstream format correctly #18

Description

@shaneiseminger

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions