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

6 lines
170 B
Django/Jinja
Executable file

#!/bin/bash
source /opt/scripts/restic/restic.env
restic forget --prune --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --host={{ inventory_hostname }}
echo "done! :)"