diff --git a/scripts/backup.py b/scripts/backup.py index d24589110..8b54d0649 100755 --- a/scripts/backup.py +++ b/scripts/backup.py @@ -36,7 +36,7 @@ class backupTools: "----------------------------------------------------------------------------") return - backup_path = mw.getRootDir() + '/backup/site' + backup_path = mw.getBackupDir() + '/site' if not os.path.exists(backup_path): mw.execShell("mkdir -p " + backup_path) @@ -97,7 +97,7 @@ class backupTools: "----------------------------------------------------------------------------") return - backup_path = mw.getRootDir() + '/backup/database' + backup_path = mw.getBackupDir() + '/database' if not os.path.exists(backup_path): mw.execShell("mkdir -p " + backup_path)