[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: |
|
||||||||
| 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. |