2023-01-17 14:15:24 +01:00
|
|
|
# Name your backup (only really for logging purposes)
|
|
|
|
NAME="Backup Name"
|
|
|
|
# The directory to back up
|
|
|
|
BACKUP_DIR="/dir/to/back/up"
|
|
|
|
# any additional params you want with restic
|
2023-01-17 13:21:39 +01:00
|
|
|
BACKUP_PARAMS=""
|
2023-01-17 14:15:24 +01:00
|
|
|
# an exclude file, generally I use "exclusions.txt" that's ignored by git
|
|
|
|
BACKUP_EXCLUDE_FILE=""
|
|
|
|
# https://healthchecks.io uuid
|
|
|
|
HEALTHCHECK_UUID=""
|
|
|
|
# name of a script to run before (ideally in the "pre/" dir)
|
|
|
|
PRE_RUN_SCRIPT=""
|
|
|
|
# name of a script to run after (ideally in the "post/" dir)
|
|
|
|
POST_RUN_SCRIPT=""
|
2023-01-17 13:21:39 +01:00
|
|
|
|
2023-01-17 13:31:07 +01:00
|
|
|
|
2023-01-17 13:21:39 +01:00
|
|
|
export AWS_ACCESS_KEY_ID=
|
|
|
|
export AWS_SECRET_ACCESS_KEY=
|
|
|
|
export RESTIC_REPOSITORY="s3:https://repo.tld/bucket/sub-bucket"
|
|
|
|
export RESTIC_PASSWORD=V3RYSecuRepaSsWord
|