Update backup.py

This commit is contained in:
Mr Chen 2024-05-23 00:16:38 +08:00
parent b3c383327d
commit df0b708462
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class backupTools:
# mw.execShell(db_path + "/bin/mysqldump --defaults-file=" + my_conf_path + " --skip-lock-tables --default-character-set=utf8 " +
# name + " | gzip > " + filename)
cmd = db_path + "/bin/mysqldump --defaults-file=" + my_conf_path + " --single-transaction --quick --default-character-set=utf8 " + \
cmd = db_path + "/bin/mariadb-dump --defaults-file=" + my_conf_path + " --single-transaction --quick --default-character-set=utf8 " + \
name + " | gzip > " + filename
mw.execShell(cmd)