From d278fef0d342bb9bef0f24119a1109ddc006c18c Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 23 Dec 2021 20:26:13 +0500 Subject: [PATCH] disable smtp for inc backups --- IncBackups/IncBackupsControl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/IncBackups/IncBackupsControl.py b/IncBackups/IncBackupsControl.py index 442c7005c..af9641b50 100644 --- a/IncBackups/IncBackupsControl.py +++ b/IncBackups/IncBackupsControl.py @@ -291,6 +291,7 @@ class IncJobs(multi.Thread): ## Last argument delete is set when the snapshot is to be deleted from this repo, when this argument is set, any preceding argument is not used def sftpFunction(self, backupPath, type, restore=None, delete=None): + return 0 if restore == None: # Define our excludes file for use with restic backupExcludesFile = '/home/%s/backup-exclude.conf' % (self.website.domain)