mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-15 12:02:06 +01:00
take care of local backend
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user