Feat: add cat passphrase

This commit is contained in:
Bertrand Benjamin 2019-08-05 22:34:09 +02:00
parent 6839bf33a5
commit 312cffd119

View File

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