fixed typo
This commit is contained in:
parent
fac66d905e
commit
11317e2033
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class BackupManager:
|
||||||
borg_env = os.environ.copy()
|
borg_env = os.environ.copy()
|
||||||
borg_env["BORG_RSH"] = remote["BORG_RSH"]
|
borg_env["BORG_RSH"] = remote["BORG_RSH"]
|
||||||
borg_env["BORG_PASSPHRASE"] = remote["BORG_PASSPHRASE"]
|
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}"
|
cmd = f"borg create -v --stats {repo} {backup_dirs} --exclude {exclude_dirs}"
|
||||||
try:
|
try:
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue