From d4b30036935d81d8279343fce3e3d0bfad35736c Mon Sep 17 00:00:00 2001 From: Sora Date: Sun, 12 Nov 2023 17:22:01 +0100 Subject: [PATCH] hmmmm --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1c9e9b6..f7c8abb 100644 --- a/main.py +++ b/main.py @@ -97,7 +97,7 @@ def restic_backup(dirpath: str, tagslist: list = None): volumes = {dirpath: {'bind': dirpath, 'mode': 'ro'}, arguments.sshfolder: {'bind': '/root/.ssh', 'mode': 'ro'}, arguments.passwordfile: {'bind': "/repopassword", 'mode': 'ro'}} - command = f"backup {dryrun} {tagscommand} {dirpath}" + command = f"backup {dryrun} {tagscommand} '{dirpath}'" hostname = "restic" environment = ["RESTIC_PASSWORD_FILE=/repopassword", f"RESTIC_REPOSITORY={repo}"]