From c44e29b159347bee9d03015370dd7a49c6d2a3fb Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 24 May 2020 23:35:08 +0500 Subject: [PATCH] bug fix backupSchedule.py --- plogical/backupSchedule.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plogical/backupSchedule.py b/plogical/backupSchedule.py index 3093a54fa..a2ebcdf01 100755 --- a/plogical/backupSchedule.py +++ b/plogical/backupSchedule.py @@ -83,6 +83,13 @@ class backupSchedule: except: fileName = "Fetching.." + ifRunning = ProcessUtilities.outputExecutioner('ps aux') + + if (ifRunning.find('startBackup') > -1 or ifRunning.find('BackupRoot') > -1) and ifRunning.find('/%s/' % (backupDomain)): + pass + else: + return 0, 'Backup process killed without reporting any error.' + ## file name read ends if os.path.exists(status):