2023-01-17 09:23:35 -05:00
|
|
|
# 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
|
2023-01-17 09:43:24 -05:00
|
|
|
# base url for matrix hook
|
|
|
|
export MATRIX_HOOK_URL=
|
2023-01-17 09:23:35 -05:00
|
|
|
# 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
|
2023-01-17 10:33:01 -05:00
|
|
|
|
|
|
|
# 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)
|