infrastructure/ansible/roles/restic/files/restic-backup.sh
Jake Howard 55df3e8fa3
All checks were successful
/ terraform (push) Successful in 35s
/ ansible (push) Successful in 1m31s
Separate restic repositories
Smaller VMs no longer need to load the full index
2024-12-01 21:34:44 +00:00

7 lines
236 B
Bash

#!/usr/bin/env bash
set -e
exec $HOME/backrest.sh --verbose backup --files-from=$HOME/restic-include.txt --exclude-file=$HOME/restic-excludes.txt
exec $HOME/backrest.sh forget --prune --keep-daily 30 --keep-monthly 3 --group-by host