mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
disable smtp for inc backups
This commit is contained in:
@@ -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
|
## 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):
|
def sftpFunction(self, backupPath, type, restore=None, delete=None):
|
||||||
|
return 0
|
||||||
if restore == None:
|
if restore == None:
|
||||||
# Define our excludes file for use with restic
|
# Define our excludes file for use with restic
|
||||||
backupExcludesFile = '/home/%s/backup-exclude.conf' % (self.website.domain)
|
backupExcludesFile = '/home/%s/backup-exclude.conf' % (self.website.domain)
|
||||||
|
|||||||
Reference in New Issue
Block a user