From 1c85071ca4c6fc4bf000b19698c6f8d5787a3c53 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 27 May 2019 05:31:08 -0600 Subject: [PATCH] export borg remote location env var --- backup_new.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backup_new.sh b/backup_new.sh index 22e64ae..c658535 100755 --- a/backup_new.sh +++ b/backup_new.sh @@ -464,6 +464,9 @@ else export BORG_PASSPHRASE="DummyPasswordSoBorgFails" fi +## export borg remote path, if specified +if [ -n "${borgRemote}" ]; then export BORG_REMOTE_PATH="${borgRemote}"; fi + ## read additional files if [ -n "${borgXtraListPath}" ]; then # check if file actually exists