Skip to content

Commit 1afb9e1

Browse files
authored
Merge pull request #15 from vjku/lawndoc-v1.1.1-pr-mysqldump
Remove MySQL/MariaDB timestamp comments and force consistent ordering
2 parents 386532a + 29e7f5c commit 1afb9e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/restic_compose_backup/containers_db.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ def dump_command(self) -> list:
4949
"--all-databases",
5050
"--no-tablespaces",
5151
"--single-transaction",
52+
"--order-by-primary",
53+
"--compact",
54+
"--force"
5255
]
5356

5457
def backup(self):
@@ -116,6 +119,9 @@ def dump_command(self) -> list:
116119
"--all-databases",
117120
"--no-tablespaces",
118121
"--single-transaction",
122+
"--order-by-primary",
123+
"--compact",
124+
"--force"
119125
]
120126

121127
def backup(self):

0 commit comments

Comments
 (0)