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

mariabackup --copy-back and --move-back should fail with error if the backup is not prepared

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      mariabackup --copy/move-back does not check if the backup is prepared or not.
      The most trivial way to check would be to introduce a new info file with similar content xtrabackup_info.
      For example a flile caled prepare_info with content:
      uuid =
      tool_name = mariabackup
      tool_command = --prepare
      tool_version = 10.6.16-MariaDB
      ibbackup_version = 10.6.16-MariaDB
      start_time = 2024-03-17 18:56:04
      end_time = 2024-03-17 18:56:36
      ...
      etc.

      If prepare_info is not present --copy-back and --move-back should fail with error like:
      "The backup must be prepared before it is restored"

      Attachments

        Activity

          People

            Unassigned Unassigned
            salle Alexander Keremidarski
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.