neb/skel/etc/cron.d/restic
Raine bdc60174ed
fix: order of backups
we cant forget during a backup 🤦
2023-10-22 22:06:09 +02:00

10 lines
309 B
Text

# /etc/cron.d/restic.crontab
# every 4 hours create a backup
0 */4 * * * root bash /opt/scripts/restic/backup.sh
# every day at 20, forget old backups
30 20 * * * root bash /opt/scripts/restic/forget.sh
# every 1st of the month at 10 in the morning, prune
0 10 1 * * root bash /opt/scripts/restic/prune.sh