mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-13 17:34:57 +00:00
add single-transaction to mysqldump to ensure consistency
This commit is contained in:
@@ -48,6 +48,7 @@ class MariadbContainer(Container):
|
||||
f"--user={creds['username']}",
|
||||
"--all-databases",
|
||||
"--no-tablespaces",
|
||||
"--single-transaction",
|
||||
]
|
||||
|
||||
def backup(self):
|
||||
@@ -114,6 +115,7 @@ class MysqlContainer(Container):
|
||||
f"--user={creds['username']}",
|
||||
"--all-databases",
|
||||
"--no-tablespaces",
|
||||
"--single-transaction",
|
||||
]
|
||||
|
||||
def backup(self):
|
||||
|
||||
Reference in New Issue
Block a user