diff --git a/ansible/roles/restic/files/restic-backup.sh b/ansible/roles/restic/files/restic-backup.sh index 0e91590..2f4e735 100644 --- a/ansible/roles/restic/files/restic-backup.sh +++ b/ansible/roles/restic/files/restic-backup.sh @@ -2,6 +2,6 @@ set -e -exec $HOME/backrest.sh --verbose backup --files-from=$HOME/restic-include.txt --exclude-file=$HOME/restic-excludes.txt +$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 +$HOME/backrest.sh forget --prune --keep-daily 30 --keep-monthly 3 --group-by host