restic-scripts-win/env.sample.ps1

25 lines
774 B
PowerShell
Raw Permalink Normal View History

2023-01-26 15:32:09 +01:00
# Name your backup (only really for logging purposes)
$NAME="Backup Name"
# The directory to back up
$BACKUP_DIR="/dir/to/back/up"
2023-01-27 11:47:45 +01:00
# any additional params you want with restic i.e. --use-fs-snapshot
2023-01-26 15:32:09 +01:00
$BACKUP_PARAMS=""
# an exclude file, generally I use "exclusions.txt" that's ignored by git
$BACKUP_EXCLUDE_FILE=""
# https://healthchecks.io uuid
$HEALTHCHECK_UUID=""
2024-03-13 12:24:06 +01:00
# Uptime Kuma URL
$KUMA_URL=""
# Uptime Kuma push ID
$KUMA_ID=""
2023-01-26 15:32:09 +01:00
# 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=""
$Env:AWS_ACCESS_KEY_ID=
$Env:AWS_SECRET_ACCESS_KEY=
$Env:RESTIC_REPOSITORY="s3:https://repo.tld/bucket/sub-bucket"
2023-01-27 11:47:45 +01:00
$Env:RESTIC_PASSWORD=V3RYSecuRepaSsWord