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

Help the user to write back partial backup

Details

    • Task
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • None
    • Backup
    • None

    Description

      When the backup is only some tables from some databases, copying-back has the additional problem of merging the other tables / databases. In fact, I have no idea how to do that correctly. An empty data-dir is expected! Best would be including all the necessary steps into --copy-back, or next-best putting out the necessary steps for the user to follow.

      Attachments

        Issue Links

          Activity

            JJworx Jochen added a comment -

            I see. It seemed I overlooked the documentation here.

            Easiest remedy, much less work than follows from MDEV-18762, would be to just create a warning output on encountering a partial backup without using --export:

            "This is a partial backup, you need to use the --export option. Both have entries in the documentation."

            And then allow to continue without export, if that is really wanted.

            JJworx Jochen added a comment - I see. It seemed I overlooked the documentation here . Easiest remedy, much less work than follows from MDEV-18762 , would be to just create a warning output on encountering a partial backup without using --export: "This is a partial backup, you need to use the --export option. Both have entries in the documentation." And then allow to continue without export, if that is really wanted.

            People

              Unassigned Unassigned
              JJworx Jochen
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.