fix: remove regex filter from db backup

This commit is contained in:
Michael Reichenbach 2021-03-09 12:19:39 +01:00 committed by Silthus
parent ef6ee71d2a
commit f8ab8b9386
1 changed files with 2 additions and 18 deletions

View File

@ -38,12 +38,6 @@ class MariadbContainer(Container):
"""list: create a dump command restic and use to send data through stdin"""
creds = self.get_credentials()
destination = self.backup_destination_path()
logger.debug('log_level: %s', self.get_config('log_level'))
verbosity = 3
if self.get_config('log_level') == 'debug':
verbosity = 3
return [
"mydumper",
@ -59,10 +53,8 @@ class MariadbContainer(Container):
f"{destination}",
"--no-views",
"--compress",
"--regex",
"'^(?!(mysql\.))'",
"--verbose",
f"{verbosity}"
"3"
]
def backup(self):
@ -122,12 +114,6 @@ class MysqlContainer(Container):
"""list: create a dump command restic and use to send data through stdin"""
creds = self.get_credentials()
destination = self.backup_destination_path()
logger.debug('log_level: %s', self.get_config('log_level'))
verbosity = 3
if self.get_config('log_level') == 'debug':
verbosity = 3
return [
"mydumper",
@ -143,10 +129,8 @@ class MysqlContainer(Container):
f"{destination}",
"--no-views",
"--compress",
"--regex",
"'^(?!(mysql\.))'",
"--verbose",
f"{verbosity}"
"3"
]
def backup(self):