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

7 lines
138 B
Text
Raw Permalink Normal View History

2023-10-10 18:28:50 +02:00
#!/bin/bash
source /opt/scripts/restic/restic.env
restic forget --prune --keep-within 1m --host={{ ansible_hostname }}
echo "done! :)"