Enable/Disable PowerDNS Service

This commit is contained in:
usmannasir
2018-07-23 02:09:33 +05:00
parent a83686e39c
commit 6f7dd8e3fc
35 changed files with 2660 additions and 49 deletions

View File

@@ -222,6 +222,7 @@ class remoteBackup:
command = 'sudo rsync -avz -e "ssh -i /root/.ssh/cyberpanel -o StrictHostKeyChecking=no" ' + completedPathToSend + ' root@' + IPAddress + ':/home/backup/transfer-'+folderNumber
subprocess.call(shlex.split(command), stdout=writeToFile)
os.remove(completedPathToSend)
except BaseException, msg:
logging.CyberCPLogFileWriter.writeToFile(str(msg) + " [startBackup]")