aboutsummaryrefslogblamecommitdiff
path: root/restic_summary
blob: 38e9433da762393c43a91b0596e90072a44fc4be (plain) (tree)
1
2
3
4
5
6
7
8
9
                   
                                            





                                                                               
#!/usr/bin/env bash
for svc in dovecot consul plume cryptpad; 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