mirror of
				https://github.com/usmannasir/cyberpanel.git
				synced 2025-10-31 18:36:17 +01:00 
			
		
		
		
	Bug fix to Backup Engine
This commit is contained in:
		| @@ -83,6 +83,11 @@ class backupSchedule: | ||||
|             writeToFile = open(backupLogPath, "a") | ||||
|             command = "sudo scp -o StrictHostKeyChecking=no -P "+port+" -i /root/.ssh/cyberpanel " + backupPath + " root@"+IPAddress+":/home/backup/" + ipAddressLocal + "/" + time.strftime("%a-%b") + "/" | ||||
|             subprocess.call(shlex.split(command), stdout=writeToFile) | ||||
|  | ||||
|             ## Remove backups already sent to remote destinations | ||||
|  | ||||
|             os.remove(backupPath) | ||||
|  | ||||
|         except BaseException, msg: | ||||
|             logging.CyberCPLogFileWriter.writeToFile(str(msg) + " [startBackup]") | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user