use template files to improve security, reproducibility

This commit is contained in:
Bill Kaguru Wanjohi
2019-04-26 14:26:05 +00:00
parent ba732cb238
commit 5f35a74bd1
4 changed files with 12 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
# B2 credentials.
# Extracted settings so both systemd timers and user can just source this when want to work on my B2 backup.
# See https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html
export RESTIC_REPOSITORY="b2:<b2-repo-name>"
export RESTIC_PASSWORD_FILE="/etc/restic/b2_pw.txt"
export B2_ACCOUNT_ID="<b2-account-id>"
export B2_ACCOUNT_KEY="<b2-account-key>"