[MDEV-24722] Feature Request: mariabackup is missing --backup-and-prepare option Created: 2021-01-28  Updated: 2022-07-29

Status: Open
Project: MariaDB Server
Component/s: mariabackup
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Oli Sennhauser Assignee: Ralf Gebhardt
Resolution: Unresolved Votes: 1
Labels: backup, mariabackup, prepare

Issue Links:
Duplicate
duplicates MDEV-20058 Make Mariabackup handle both --backup... Open

 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.


Generated at Thu Feb 08 09:32:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.