reducing restic lifecycle to last 7 days, and 2 of the last weekly backups

This commit is contained in:
tolerryan
2026-08-24 08:47:15 +00:00
parent 34207d359d
commit 98e0d8fded

View File

@@ -117,7 +117,7 @@
forget forget
--host "{{ inventory_hostname }}" --host "{{ inventory_hostname }}"
--tag "{{ item.label }}" --tag "{{ item.label }}"
--keep-daily 7 --keep-weekly 4 --keep-monthly 12 --prune --keep-daily 7 --keep-weekly 2 --prune
volumes: volumes:
- "{{ item.path }}:/backup_target/{{ item.label }}:ro" - "{{ item.path }}:/backup_target/{{ item.label }}:ro"
env: *restic_env env: *restic_env