blob: f9295ba0b796c0dc6cc371729ee1d885b49e3438 (
plain) (
tree)
|
|
#!/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
|