possible bug fix on ubuntu 22 upgrade

This commit is contained in:
usman@cyberpersons.com
2023-02-17 14:53:29 +05:00
parent 8b6efb3d18
commit a377be4ec2
3 changed files with 3 additions and 4 deletions

View File

@@ -244,7 +244,6 @@ class CPBackupsV2:
self.website.BackupLock = 0
self.website.save()
def BackupDataBases(self):
### This function will backup databases of the website, also need to take care of database that we need to exclude
@@ -316,7 +315,7 @@ class CPBackupsV2:
command = f'chown vmail:vmail {destination}'
ProcessUtilities.executioner(command)
command = f'rsync -av {exclude} {source}/ {destination}/'
command = f'rsync -av {source}/ {destination}/'
ProcessUtilities.executioner(command, 'vmail')
return 1