mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
ibb
This commit is contained in:
@@ -672,6 +672,7 @@ class IncJobs(multi.Thread):
|
|||||||
elif self.backupDestinations[:4] == 'sftp':
|
elif self.backupDestinations[:4] == 'sftp':
|
||||||
if self.sftpFunction(dbPathNew, 'database') == 0:
|
if self.sftpFunction(dbPathNew, 'database') == 0:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if self.awsFunction('backup', dbPathNew, '', 'database') == 0:
|
if self.awsFunction('backup', dbPathNew, '', 'database') == 0:
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
@@ -1033,5 +1033,6 @@ def main():
|
|||||||
if args.function == "enableRemoteMYSQL":
|
if args.function == "enableRemoteMYSQL":
|
||||||
mysqlUtilities.enableRemoteMYSQL()
|
mysqlUtilities.enableRemoteMYSQL()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user