Merge "Fix MariaDB target dir for backup syntax"
This commit is contained in:
commit
a7e4b1f69b
@ -26,7 +26,7 @@ CONF = cfg.CONF
|
|||||||
class MariaBackup(mysql_base.MySQLBaseRunner):
|
class MariaBackup(mysql_base.MySQLBaseRunner):
|
||||||
"""Implementation of Backup and Restore using mariabackup."""
|
"""Implementation of Backup and Restore using mariabackup."""
|
||||||
restore_cmd = ('mbstream -x -C %(restore_location)s')
|
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):
|
def __init__(self, *args, **kwargs):
|
||||||
super(MariaBackup, self).__init__(*args, **kwargs)
|
super(MariaBackup, self).__init__(*args, **kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user