From 9588fb256e982ed0c398499b0da50499400756d3 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 24 Nov 2021 19:46:02 +0500 Subject: [PATCH] disable sftp destination for incremental backups for time being --- IncBackups/templates/IncBackups/incrementalDestinations.html | 2 +- plogical/restoreMeta.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IncBackups/templates/IncBackups/incrementalDestinations.html b/IncBackups/templates/IncBackups/incrementalDestinations.html index 3eb3e5bbd..23e459cb2 100755 --- a/IncBackups/templates/IncBackups/incrementalDestinations.html +++ b/IncBackups/templates/IncBackups/incrementalDestinations.html @@ -35,7 +35,7 @@
diff --git a/plogical/restoreMeta.py b/plogical/restoreMeta.py index 686e172b0..df8ce82ed 100644 --- a/plogical/restoreMeta.py +++ b/plogical/restoreMeta.py @@ -190,9 +190,9 @@ def main(): parser.add_argument('--backupFile', help='') parser.add_argument('--dir', help='') - args = parser.parse_args() + if args.function == "submitRestore": restoreMeta.startRestore(args.metaPath,args.statusFile)