summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/backups/assimilate2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/backups/assimilate b/.local/bin/backups/assimilate
index 0137650..b222e79 100755
--- a/.local/bin/backups/assimilate
+++ b/.local/bin/backups/assimilate
@@ -17,7 +17,7 @@ LOG="$HOME/.config/borg/log"
17# who owns the password store. The environmental variable PASSWORD_STORE_DIR is passed through 17# who owns the password store. The environmental variable PASSWORD_STORE_DIR is passed through
18# SUDO_OPTS to the borg commands, and then passed to this command from the borg command 18# SUDO_OPTS to the borg commands, and then passed to this command from the borg command
19# by the same means. This allows custom password store locations to work with this script. 19# by the same means. This allows custom password store locations to work with this script.
20export BORG_PASSCOMMAND="sudo $SUDO_OPTS -u $USER pass Borg-Backup/$(hostname)-onsite" 20export BORG_PASSCOMMAND="sudo $SUDO_OPTS -u $USER pass Borg-Backup/$(hostname)-$LOCATION"
21 21
22# Backup root partition 22# Backup root partition
23sudo $SUDO_OPTS borg create $CREATE_OPTS \ 23sudo $SUDO_OPTS borg create $CREATE_OPTS \