Use local path for borg backups
This commit is contained in:
parent
1c9186aa1c
commit
9fc4d4843f
@ -44,7 +44,7 @@ function backup() {
|
|||||||
|
|
||||||
# Next, instruct the host to create a borg
|
# Next, instruct the host to create a borg
|
||||||
echo "Running 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
|
# Take wakelock so we don't fall asleep
|
||||||
|
Loading…
Reference in New Issue
Block a user