From ae0b90be8bf0ebaecee3fbf46a54510324d65336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Austen=E2=80=9D?= Date: Sun, 30 Jun 2019 11:05:46 -0400 Subject: [PATCH] Use HOSTNAME over LOCAL_HOSTNAME --- backup-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup-android.sh b/backup-android.sh index c224442..85f942d 100755 --- a/backup-android.sh +++ b/backup-android.sh @@ -45,7 +45,7 @@ function backup() { # Next, instruct the host to create a borg echo "Running borg..." - ./run_remote.sh cd "$DESTINATION_LOCATION" "&&" pwd "&&" $BORG_COMMAND "$BORG_REPO::$LOCAL_HOSTNAME-$(uuidgen)" . || return 2 + ./run_remote.sh cd "$DESTINATION_LOCATION" "&&" pwd "&&" $BORG_COMMAND "$BORG_REPO::$HOSTNAME-$(uuidgen)" . || return 2 } # Take wakelock so we don't fall asleep