diff --git a/roles/unhb_backup_scripts/templates/restic-prune.sh.j2 b/roles/unhb_backup_scripts/templates/restic-prune.sh.j2 index bef5c0e..df17ac1 100755 --- a/roles/unhb_backup_scripts/templates/restic-prune.sh.j2 +++ b/roles/unhb_backup_scripts/templates/restic-prune.sh.j2 @@ -1,6 +1,6 @@ #!/bin/bash source /opt/scripts/restic/restic.env -restic forget --prune --keep-within 1m --host={{ ansible_hostname }} +restic forget --prune --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --host={{ ansible_hostname }} echo "done! :)"