ansible/roles/unhb_backup_scripts/templates/restic-prune.sh.j2

7 lines
170 B
Text
Raw Normal View History

2023-10-10 18:28:50 +02:00
#!/bin/bash
source /opt/scripts/restic/restic.env
2024-08-27 11:08:18 +02:00
restic forget --prune --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --host={{ inventory_hostname }}
2023-10-10 18:28:50 +02:00
echo "done! :)"