Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
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"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"
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"