diff --git a/files/dd_borg/run.sh b/files/dd_borg/run.sh index 545ce14..aa9843d 100644 --- a/files/dd_borg/run.sh +++ b/files/dd_borg/run.sh @@ -56,6 +56,7 @@ BORG_OPTS="--stats --one-file-system --compression lz4 --checkpoint-interval 864 # Set BORG_PASSPHRASE or BORG_PASSCOMMAND somewhere around here, using export, # if encryption is used. +export BORG_PASSPHRASE="`cat /etc/backups/passphrase`" # No one can answer if Borg asks these questions, it is better to just fail quickly # instead of hanging.