Adds possibility to have multiple profiles with different backup paths, retention etc. Co-authored-by: Matt Feifarek <matt.feifarek@gmail.com> Co-authored-by: Erik Westrup <erik.westrup@gmail.com>
21 lines
806 B
Plaintext
21 lines
806 B
Plaintext
# Global envionment variables
|
|
# These variables are sourced FIRST, and any values inside of *.env files for
|
|
# specific configurations will override if also defined there.
|
|
|
|
|
|
# Official instructions on how to setup the restic variables for Backblaze B2 can be found at
|
|
# https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#backblaze-b2
|
|
|
|
|
|
# The restic repository encryption key
|
|
export RESTIC_PASSWORD_FILE="/etc/restic/pw.txt"
|
|
# The global restic exclude file
|
|
export RESTIC_BACKUP_EXCLUDE_FILE="/etc/restic/backup_exclude"
|
|
|
|
# Backblaze B2 credentials
|
|
export B2_ACCOUNT_ID="<b2-account-id>" # TODO fill with your account info
|
|
export B2_ACCOUNT_KEY="<b2-account-key>" # TODO fill with your account info
|
|
|
|
# How many network connections to set up to B2. Default is 5.
|
|
export B2_CONNECTIONS=10
|