take care of local backend

This commit is contained in:
usman@cyberpersons.com
2023-03-16 17:04:09 +05:00
parent ae4a3a64dc
commit aef9f7d282

View File

@@ -44,7 +44,10 @@ class CPBackupsV2:
## Set up the repo name to be used
self.repo = f"rclone:{self.data['BackendName']}:{self.data['domain']}"
if self.data['BackendName'] != 'local':
self.repo = f"rclone:{self.data['BackendName']}:{self.data['domain']}"
else:
self.repo = f"rclone:{self.data['BackendName']}:/home/{self.data['domain']}/incrementalbackups"
### This will contain list of all snapshots id generated and it will be merged