From 6cb941818c4cdb4989acb3d15988624cb135c8ee Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 29 Mar 2022 10:01:00 +0900 Subject: [PATCH] Repository ID via config only works with local repos, drop that and keep repo ID in -i option only --- borg.backup.functions.check.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/borg.backup.functions.check.sh b/borg.backup.functions.check.sh index 4e8ec09..f540c07 100644 --- a/borg.backup.functions.check.sh +++ b/borg.backup.functions.check.sh @@ -76,9 +76,7 @@ elif [ ! -z "${TARGET_HOST}" ]; then fi; # we dont allow special characters, so we don't need to special escape it REPOSITORY="${TARGET_SERVER}${TARGET_FOLDER}${BACKUP_FILE}"; -REPOSITORY_ID=$(${BORG_COMMAND} config ${OPT_REMOTE} ${REPOSITORY} id); echo "Repository : ${REPOSITORY}"; -echo "Repository ID : ${REPOSITORY_ID}"; # check compression if given is valid and check compression level is valid if given OPT_COMPRESSION='';