This commit is contained in:
brent s 2017-10-26 07:18:36 -04:00
parent 7ffde14257
commit aaf6b16407

View File

@ -266,7 +266,7 @@ class Backup(object):
self.logger.debug('Databases: {0}'.format(', '.join(_DBs)))
for db in _DBs:
_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
if db in ('information_schema', 'performance_schema'):
_cmd.append('--skip-lock-tables')