Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-35143

mariabackup --backup --stream=xbstream - will create incomplete backups that are not restorable

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.11.9, 11.7.0
    • None
    • Backup
    • galera-cluster with 3 servers all primary
      Centos 7

    Description

      When running mariabackup --backup --stream=xbstream, the process will incorrectly report that a backup has completely successfully although the backup config and/or the xtrabackup info files will be missing from the backup.

      backup_copy.backup_finish line 1376 will return false if either the backup config or the xtrabackup info files are not written to the backup.
      The returned state of this method is not handled in xtrabackup.stage_end (line 5211) and this method always returns TRUE, indicating that the backup completed successfully

      Restoration of backups without either the backup config (backup-my.cnf) or the xtrabackup info (xtrabackup_info) files, will fail and the backup is un-recoverable.

      I am unable to provide the steps to reproduce backup files without these config or xtrabackup info files.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mick.brennan@mantlehosting.co.uk Mick Brennan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.