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

mariabackup is missing --backup-and-prepare option

Details

    Description

      The mariabackup backup phase consists of 2 steps:
      a) --backup
      b) --prepare

      The second step b) can be done after backup or before restore. Step b) can take in certain cases significant amount of time. Further it theoretically can fail because of bugs etc.
      So it makes sense from operations reliability point of view to do --prepare immediately after backup to safe the time during restore AND we know already at backup time if it works or not.

      To make it simple (just 1 step instead of 2) I prefer thus to have the --backup-and-prepare option to run both steps at the same time.
      For all those doing incremental backups they still can do it in separate steps as they want. But I would say that in 90% of the cases users are NOT doing incremental backups.

      Attachments

        Issue Links

          Activity

            oli Oli Sennhauser created issue -
            elenst Elena Stepanova made changes -
            Field Original Value New Value
            Affects Version/s 10.5 [ 23123 ]
            Affects Version/s 10.6 [ 24028 ]
            Environment n.a.
            Issue Type Bug [ 1 ] Task [ 3 ]
            julien.fritsch Julien Fritsch made changes -
            Assignee Ralf Gebhardt [ ralf.gebhardt@mariadb.com ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 118574 ] MariaDB v4 [ 131443 ]
            danblack Daniel Black made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            Assignee Ralf Gebhardt [ ralf.gebhardt@mariadb.com ]
            Issue Type Task [ 3 ] New Feature [ 2 ]
            serg Sergei Golubchik made changes -
            Summary Feature Request: mariabackup is missing --backup-and-prepare option mariabackup is missing --backup-and-prepare option

            People

              Unassigned Unassigned
              oli Oli Sennhauser
              Votes:
              1 Vote for this issue
              Watchers:
              7 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.