Fix MariaDB target dir for backup syntax
Change-Id: I0a8b78696f822d176caf6136c0d71211dee16685
This commit is contained in:
parent
1da2376f5a
commit
93d67678dc
@ -26,7 +26,7 @@ CONF = cfg.CONF
|
||||
class MariaBackup(mysql_base.MySQLBaseRunner):
|
||||
"""Implementation of Backup and Restore using mariabackup."""
|
||||
restore_cmd = ('mbstream -x -C %(restore_location)s')
|
||||
prepare_cmd = 'mariabackup --prepare --target--dir=%(restore_location)s'
|
||||
prepare_cmd = 'mariabackup --prepare --target-dir=%(restore_location)s'
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(MariaBackup, self).__init__(*args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user