20 lines
663 B
Bash
Executable file
20 lines
663 B
Bash
Executable file
# 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
|
|
BACKUP_PARAMS=""
|
|
# 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=""
|
|
|
|
|
|
export AWS_ACCESS_KEY_ID=
|
|
export AWS_SECRET_ACCESS_KEY=
|
|
export RESTIC_REPOSITORY="s3:https://repo.tld/bucket/sub-bucket"
|
|
export RESTIC_PASSWORD=V3RYSecuRepaSsWord
|