Update backup.py

pull/149/head
midoks 3 years ago
parent 7e4fcbfbb5
commit 254ba6f6f0
  1. 5
      scripts/backup.py

@ -112,7 +112,10 @@ class backupTools:
if len(mycnf) > 100:
mw.writeFile(db_path + '/etc/my.cnf', mycnf)
mw.execShell(db_path + "/bin/mysqldump --opt --default-character-set=utf8 " +
# mw.execShell(db_path + "/bin/mysqldump --opt --default-character-set=utf8 " +
# name + " | gzip > " + filename)
mw.execShell(db_path + "/bin/mysqldump --skip-lock-tables --default-character-set=utf8 " +
name + " | gzip > " + filename)
if not os.path.exists(filename):

Loading…
Cancel
Save