fixed typo

This commit is contained in:
Thies Lennart Alff 2025-01-03 12:16:31 +01:00
parent fac66d905e
commit 11317e2033
Signed by: lennartalff
GPG key ID: 4EC67D34D594104D

View file

@ -53,7 +53,7 @@ class BackupManager:
borg_env = os.environ.copy()
borg_env["BORG_RSH"] = remote["BORG_RSH"]
borg_env["BORG_PASSPHRASE"] = remote["BORG_PASSPHRASE"]
repo = f"ssh//{backup_user}@{remote_host}/{repo_prefix}/{local_host}/{repo_subdir}::{{{time_format}}}"
repo = f"ssh://{backup_user}@{remote_host}/{repo_prefix}/{local_host}/{repo_subdir}::{{{time_format}}}"
cmd = f"borg create -v --stats {repo} {backup_dirs} --exclude {exclude_dirs}"
try:
result = subprocess.run(