pull/310/head
midoks 2 years ago
parent c21d8eed8b
commit 7fa6ec7cd3
  1. 2
      plugins/mariadb/scripts/backup.py
  2. 2
      plugins/mysql-apt/scripts/backup.py
  3. 2
      plugins/mysql-yum/scripts/backup.py

@ -44,7 +44,7 @@ class backupTools:
if not os.path.exists(backup_path):
mw.execShell("mkdir -p " + backup_path)
filename = backup_path + "/db_" + name + "_" + \
filename = backup_path + "/mariadb_" + name + "_" + \
time.strftime('%Y%m%d_%H%M%S', time.localtime()) + ".sql.gz"
mysql_root = mw.M('config').dbPos(db_path, db_name).where(

@ -48,7 +48,7 @@ class backupTools:
if not os.path.exists(backup_path):
mw.execShell("mkdir -p " + backup_path)
filename = backup_path + "/db_" + name + "_" + \
filename = backup_path + "/mysql-apt_" + name + "_" + \
time.strftime('%Y%m%d_%H%M%S', time.localtime()) + ".sql.gz"
mysql_root = mw.M('config').dbPos(db_path, db_name).where(

@ -48,7 +48,7 @@ class backupTools:
if not os.path.exists(backup_path):
mw.execShell("mkdir -p " + backup_path)
filename = backup_path + "/db_" + name + "_" + \
filename = backup_path + "/mysql-yum_" + name + "_" + \
time.strftime('%Y%m%d_%H%M%S', time.localtime()) + ".sql.gz"
mysql_root = mw.M('config').dbPos(db_path, db_name).where(

Loading…
Cancel
Save