[MDEV-27908] Help the user to write back partial backup Created: 2022-02-21  Updated: 2022-02-23

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

Type: Task Priority: Critical
Reporter: Jochen Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MDEV-18762 Support easy restore of partial backup Closed

 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.



 Comments   
Comment by Jochen [ 2022-02-23 ]

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.

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