oops
This commit is contained in:
parent
7ffde14257
commit
aaf6b16407
@ -266,7 +266,7 @@ class Backup(object):
|
|||||||
self.logger.debug('Databases: {0}'.format(', '.join(_DBs)))
|
self.logger.debug('Databases: {0}'.format(', '.join(_DBs)))
|
||||||
for db in _DBs:
|
for db in _DBs:
|
||||||
_cmd = ['mysqldump',
|
_cmd = ['mysqldump',
|
||||||
'--result-file={0}.sql'.format(os.path.join(mysqldir, db))]
|
'--result-file={0}.sql'.format(os.path.join(self.args['mysqldir'], db))]
|
||||||
# These are database-specific options
|
# These are database-specific options
|
||||||
if db in ('information_schema', 'performance_schema'):
|
if db in ('information_schema', 'performance_schema'):
|
||||||
_cmd.append('--skip-lock-tables')
|
_cmd.append('--skip-lock-tables')
|
||||||
|
Loading…
Reference in New Issue
Block a user