hmmmm
This commit is contained in:
2
main.py
2
main.py
@@ -97,7 +97,7 @@ def restic_backup(dirpath: str, tagslist: list = None):
|
|||||||
volumes = {dirpath: {'bind': dirpath, 'mode': 'ro'},
|
volumes = {dirpath: {'bind': dirpath, 'mode': 'ro'},
|
||||||
arguments.sshfolder: {'bind': '/root/.ssh', 'mode': 'ro'},
|
arguments.sshfolder: {'bind': '/root/.ssh', 'mode': 'ro'},
|
||||||
arguments.passwordfile: {'bind': "/repopassword", 'mode': 'ro'}}
|
arguments.passwordfile: {'bind': "/repopassword", 'mode': 'ro'}}
|
||||||
command = f"backup {dryrun} {tagscommand} {dirpath}"
|
command = f"backup {dryrun} {tagscommand} '{dirpath}'"
|
||||||
hostname = "restic"
|
hostname = "restic"
|
||||||
environment = ["RESTIC_PASSWORD_FILE=/repopassword",
|
environment = ["RESTIC_PASSWORD_FILE=/repopassword",
|
||||||
f"RESTIC_REPOSITORY={repo}"]
|
f"RESTIC_REPOSITORY={repo}"]
|
||||||
|
|||||||
Reference in New Issue
Block a user