Fix the Remote Backup Storage Issue

This commit is contained in:
Usman Nasir
2019-06-08 21:41:43 +00:00
parent 8e2ad7f4b2
commit 0399a43830
3284 changed files with 2254 additions and 1140 deletions

6
s3Backups/s3Backups.py Normal file → Executable file
View File

@@ -544,7 +544,7 @@ class S3Backups(multi.Thread):
)
command = 'rm -f ' + result[1] + ".tar.gz"
ProcessUtilities.normalExecutioner(command)
ProcessUtilities.executioner(command)
BackupLogs(owner=plan, level='INFO', timeStamp=time.strftime("%b %d %Y, %H:%M:%S"),
msg='Backup successful for ' + items.domain + '.').save()
@@ -925,7 +925,7 @@ class S3Backups(multi.Thread):
Config=config,
)
command = 'rm -f ' + result[1] + ".tar.gz"
ProcessUtilities.normalExecutioner(command)
ProcessUtilities.executioner(command)
BackupLogsDO(owner=plan, level='INFO', timeStamp=time.strftime("%b %d %Y, %H:%M:%S"),
msg='Backup successful for ' + items.domain + '.').save()
@@ -1195,7 +1195,7 @@ class S3Backups(multi.Thread):
Config=config,
)
command = 'rm -f ' + result[1] + ".tar.gz"
ProcessUtilities.normalExecutioner(command)
ProcessUtilities.executioner(command)
BackupLogsMINIO(owner=plan, level='INFO', timeStamp=time.strftime("%b %d %Y, %H:%M:%S"),
msg='Backup successful for ' + items.domain + '.').save()
else: