Make it easy to view restic backup snapshots.

This commit is contained in:
2025-09-17 15:58:54 -07:00
parent c76c7cc981
commit 09f8b20018
2 changed files with 12 additions and 0 deletions

7
restic-snapshots.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
. $1 # source the apps.config file with then env vars
docker run --rm --volume $PWD/restic-password:/restic-password -e AWS_ACCESS_KEY_ID="$BACKBLAZE_KEY_ID" -e AWS_SECRET_ACCESS_KEY="$BACKBLAZE_APPLICATION_KEY" -i restic/restic:0.18.0 snapshots --repo s3:$BACKBLAZE_BUCKET_URL --password-file /restic-password