Use HOSTNAME over LOCAL_HOSTNAME

This commit is contained in:
Austen Adler 2019-06-30 11:05:46 -04:00
parent c6d76d94c7
commit ae0b90be8b

View File

@ -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