41 lines
933 B
Text
41 lines
933 B
Text
# This is the file that will typically be /etc/restic/env (which is sourced from the script)
|
|
|
|
# password for the repository
|
|
export RESTIC_PASSWORD=
|
|
|
|
# repository location
|
|
export RESTIC_REPOSITORY=
|
|
|
|
# restic cache dir
|
|
export RESTIC_CACHE_DIR=
|
|
|
|
## matrix notifiction hook settings
|
|
# base url for matrix hook
|
|
export MATRIX_HOOK_URL=
|
|
# api key
|
|
export MATRIX_HOOK_KEY=
|
|
# room_id, ensure it is in '', because the ! will mess things up
|
|
export MATRIX_HOOK_ROOMID=
|
|
|
|
# Specify these two if oom-killer is getting nasty with things
|
|
export TMPDIR=
|
|
export GOGC=1
|
|
|
|
# The following settings all have a default in the backup.sh itself, but you can override them here
|
|
#BACKUP_PATHS="/"
|
|
#BACKUP_EXCLUDES="/etc/restic/exclude"
|
|
#
|
|
#BACKUP_TAG=$(hostname -s)
|
|
#
|
|
#
|
|
#RETENTION_DAYS=7
|
|
#RETENTION_WEEKS=4
|
|
#RETENTION_MONTHS=3
|
|
#RETENTION_YEARS=1
|
|
#
|
|
#CURL="/usr/bin/curl"
|
|
#FIND="/usr/bin/find"
|
|
#RESTIC="/usr/bin/restic"
|
|
#ECHO="/usr/bin/echo"
|
|
#
|
|
#HOST=$(hostname -s)
|