Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
10.2.14
Description
Some people seem to think that the --stream option can be used like:
mariabackup --backup --stream=xbstream --user=root > backup.xbstream
|
cat backup.xbstream | mariabackup --prepare --stream=xbstream
|
The proper method to use it seems to be more like this:
mariabackup --backup --stream=xbstream --user=root > backup.xbstream
|
mbstream -x < backup.xbstream
|
mariabackup --prepare --target-dir=./
|
Does it ever make sense to use --stream without --backup? If not, then maybe a warning or error should be thrown if users ever try to do so?
At the moment, it seems to silently ignore the option:
$ cat backup.xbstream | mariabackup --prepare --stream=xbstream
|
mariabackup based on MariaDB server 10.2.14-MariaDB Linux (x86_64)
|
mariabackup: cd to /home/ec2-user/backup/xtrabackup_backupfiles/
|
mariabackup: Error: cannot open ./xtrabackup_checkpoints
|
mariabackup: Error: failed to read metadata from './xtrabackup_checkpoints'
|
Attachments
Issue Links
- relates to
-
MDEV-15731 mariabackup: create method for backup tool to extract from mbstream
- Open