Feat: add cat passphrase
This commit is contained in:
parent
6839bf33a5
commit
312cffd119
@ -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,
|
# Set BORG_PASSPHRASE or BORG_PASSCOMMAND somewhere around here, using export,
|
||||||
# if encryption is used.
|
# 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
|
# No one can answer if Borg asks these questions, it is better to just fail quickly
|
||||||
# instead of hanging.
|
# instead of hanging.
|
||||||
|
Loading…
Reference in New Issue
Block a user