From 2323eb435eaaa90a20043d50f69e15d48c5d97e3 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 16 Oct 2018 02:04:25 -0600 Subject: [PATCH] Added logging of accepted mapped borg variables --- root/NCscripts/backup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/NCscripts/backup.sh b/root/NCscripts/backup.sh index c8702f8..d55e64f 100755 --- a/root/NCscripts/backup.sh +++ b/root/NCscripts/backup.sh @@ -583,10 +583,12 @@ if [ -z "${borgConfig[2]}" ]; then cleanup quit else + echo -e "${op}${stamp} Borg REPO name... OK${normal}" >> "$logFile" export BORG_REPO="${borgConfig[2]}" fi # repo password if [ -n "${borgConfig[3]}" ]; then + echo -e "${op}${stamp} Borg SSH/REPO password... OK${normal}" >> "$logFile" export BORG_PASSPHRASE="${borgConfig[3]}" else exitWarn+=('2111') @@ -602,6 +604,7 @@ borgExclude="${borgConfig[5]}" borgPrune="${borgConfig[6]}" # export: borg remote path (if not blank) if [ -n "${borgConfig[7]}" ]; then + echo -e "${op}${stamp} Borg REMOTE path... OK${normal}" >> "$logFile" export BORG_REMOTE_PATH="${borgConfig[7]}" else exitWarn+=('2112')