$devtoolkit.sh/examples/cron/backup-schedules

Cron Expressions for Database Backups

Backup scheduling is one of the most critical uses of cron in production systems. This set of expressions covers hourly snapshots, nightly full backups, and weekly off-site syncs at quiet hours. The cron parser shows the next ten execution times so you can verify there are no gaps in coverage. Always stagger backup jobs by a few minutes to avoid simultaneous disk I/O spikes on multi-service hosts.

Example
0 * * * *
0 2 * * *
30 1 * * 0
0 3 * * 1-5
15 2 1 * *
0 4 * * 0
45 23 * * *
0 1 * * 1
[ open in Cron Parser → ]

FAQ

What time should I schedule nightly backups?
Schedule backups during your lowest-traffic window, typically between 1 AM and 4 AM in the server timezone. Avoid midnight exactly since many other cron jobs fire then.
How do I stagger backups across multiple databases?
Offset each job by 10–15 minutes: 0 2 * * * for the first database, 15 2 * * * for the second, and so on. This prevents simultaneous I/O load.
Should I run backups on weekends?
Yes. Data changes 24/7 regardless of business hours. Daily backups including weekends ensure you can restore to any day, not just weekdays.

Related Examples

/examples/cron/backup-schedulesv1.0.0