From 9fc4d4843f5741ecda3be0fa1d49d5bacc049c4a Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Mon, 24 Sep 2018 13:07:18 -0400 Subject: [PATCH] Use local path for borg backups --- backup-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup-android.sh b/backup-android.sh index b480515..a49e2e4 100755 --- a/backup-android.sh +++ b/backup-android.sh @@ -44,7 +44,7 @@ function backup() { # Next, instruct the host to create a borg echo "Running borg..." - ./run_remote.sh nohup sh -c "cd \"$DESTINATION_LOCATION\"; $BORG_COMMAND \"$BORG_REPO::$HOSTNAME-$(uuidgen)\" \"$DESTINATION_LOCATION\"" || return 2 + ./run_remote.sh nohup sh -c "cd \"$DESTINATION_LOCATION\"; $BORG_COMMAND \"$BORG_REPO::$HOSTNAME-$(uuidgen)\" ." || return 2 } # Take wakelock so we don't fall asleep