Repository ID via config only works with local repos, drop that and keep repo ID in -i option only
This commit is contained in:
@@ -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='';
|
||||
|
||||
Reference in New Issue
Block a user