Interview Prep/Linux/Disk, Capacity & Backups

How do you schedule and monitor backup jobs properly?

IntermediateProductionDisk, Capacity & Backups
Answer

Run them as systemd timers (with Persistent=true and OnFailure= to trigger an alert unit) or a central backup scheduler. Emit metrics or a heartbeat on success (push a timestamp to Prometheus Pushgateway or a dead-man's-switch service like Healthchecks), and alert when no successful run happened within the expected window. Alerting only on failures misses jobs that never ran.

All Linux questions Roadmap: Linux

More on Disk, Capacity & Backups