From 93d67678dcb59daf31d0f82a297fe6174bce298e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Weing=C3=A4rtner?= Date: Tue, 12 Nov 2024 08:50:16 -0300 Subject: [PATCH] Fix MariaDB target dir for backup syntax Change-Id: I0a8b78696f822d176caf6136c0d71211dee16685 --- backup/drivers/mariabackup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/drivers/mariabackup.py b/backup/drivers/mariabackup.py index f5eadb19c8..0da4b847ba 100644 --- a/backup/drivers/mariabackup.py +++ b/backup/drivers/mariabackup.py @@ -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)