neb/skel/etc/cron.d/restic.crontab

10 lines
No EOL
306 B
Text

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