adjusted which and how long keeping snapshots

This commit is contained in:
Stefan H. 2024-03-26 16:57:52 +01:00
parent 2b1f01c94f
commit 5099a7d2a2

View file

@ -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! :)"