From 02c65de5fec7242d225d6e052117f108f0a5e035 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 1 Sep 2022 18:05:50 +0200 Subject: Restart backups --- restic-summary | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 restic-summary (limited to 'restic-summary') diff --git a/restic-summary b/restic-summary new file mode 100755 index 0000000..f9295ba --- /dev/null +++ b/restic-summary @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +for svc in dovecot consul plume; do + export RESTIC_REPOSITORY=`pass deuxfleurs/backups/$svc/restic_repository` + export RESTIC_PASSWORD=`pass deuxfleurs/backups/$svc/restic_password` + export AWS_ACCESS_KEY_ID=`pass deuxfleurs/backups/$svc/aws_s3_access_key` + export AWS_SECRET_ACCESS_KEY=`pass deuxfleurs/backups/$svc/aws_s3_secret_key` + restic unlock + restic snapshots +done -- cgit v1.2.3