Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

borg-backup script: mention env var for passphrase #59

Merged
merged 1 commit into from
Aug 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/borg-backup.sh.epp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# - define a host "backup" in root's .ssh/config
# - You can override variables from main() as well as the pre_backup() and post_backup() functions in
# $XDG_CONFIG_HOME/backup-sh-conf.sh or /etc/backup-sh-conf.sh
# - As root run `borg init -v --encryption=keyfile backup:<%= $username %>/<%= $backupdestdir %>`
# - As root run `BORG_PASSPHRASE='' borg init -v --encryption=keyfile backup:<%= $username %>/<%= $backupdestdir %>`
# (note that zsh uses $HOST instead of $HOSTNAME)
# - If you want, increase the max_segment_size in
# ssh://backup/borg-$HOSTNAME/config from the default 5MiB
Expand Down