diff --git a/plogical/Backupsv2.py b/plogical/Backupsv2.py index a1d84d7d5..f1b8a2869 100644 --- a/plogical/Backupsv2.py +++ b/plogical/Backupsv2.py @@ -92,6 +92,7 @@ class CPBackupsV2: pass def BackupData(self): + ### This function will backup data of the website, also need to take care of directories that we need to exclude ### excluded directories are in a list self.data['ExcludedDirectories'] only backup data if backupdata check is on ## For example if self.data['BackupData'] is one then only run this function otherwise not diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 177a6be9b..f020507bd 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1084,6 +1084,11 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout'; except: pass + try: + cursor.execute("ALTER TABLE websiteFunctions_websites ADD COLUMN BackupLock INT DEFAULT 0;") + except: + pass + except OSError as msg: Upgrade.stdOut(str(msg) + " [applyLoginSystemMigrations]")