neb/skel/etc/cron.d/restic

11 lines
299 B
Text
Raw Permalink Normal View History

2023-10-18 01:31:05 +02:00
# /etc/cron.d/restic.crontab
# every 4 hours create a backup
2023-10-21 19:56:10 +02:00
0 */4 * * * root bash /opt/scripts/restic/backup.sh
2023-10-18 01:31:05 +02:00
2023-10-21 20:08:10 +02:00
# every day at 20, forget old backups
30 20 * * * root bash /opt/scripts/restic/forget.sh
2023-10-18 01:31:05 +02:00
2023-10-23 04:33:27 +02:00
# every friday at 10 in the morning, prune
0 10 * * 5 root bash /opt/scripts/restic/prune.sh