restic-scripts-win/env.sample.ps1
2023-01-26 14:26:03 +00:00

22 lines
No EOL
684 B
PowerShell

# 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=""
# Use VSS
$USE_VSS = 1
$Env:AWS_ACCESS_KEY_ID=
$Env:AWS_SECRET_ACCESS_KEY=
$Env:RESTIC_REPOSITORY="s3:https://repo.tld/bucket/sub-bucket"
$Env:RESTIC_PASSWORD=V3RYSecuRepaSsWord