Alerts
RestoreProof alerts you in two cases: a drill ran and failed, or a drill did not run when it should have. The second case matters most. A scheduler that silently stops is a backup test that is no longer happening.
Alert types
| Alert | When it fires |
|---|---|
| Failure | Every failed run. A drill fails when the restore fails, or any check fails, or the run ends in an error. |
| Recovered | The first passing run after a failure. |
| Missed | No run has been reported within the drill’s expected interval plus a grace margin. See below. |
Missed-drill detection
Each drill has an expected_interval_hours value. RestoreProof infers it from the median gap between the drill’s recent runs. If there is not enough history, it defaults to 24 hours. You can edit it in the dashboard.
A checker runs every 15 minutes. A drill is considered missed when:
now - last_run_at > expected_interval_hours * 1.5
A missed alert is sent once. It is not repeated until the drill reports a run again, so you will not get a new alert every 15 minutes.
For a daily drill with the default 24-hour interval, the missed alert fires after 36 hours without a run.
Channels
| Plan | Slack | |
|---|---|---|
| Trial | Yes | Yes |
| Free | Yes | No |
| Starter | Yes | Yes |
| Team | Yes | Yes |
Alerts go to the email addresses listed in the notification settings for your organization.
Slack
- In Slack, create an incoming webhook for the channel that should receive alerts.
- In the dashboard, open notification settings for your organization and paste the webhook URL.
The URL must start with https://hooks.slack.com/. Other addresses are rejected. Slack alerts use the same events as email.
Test your alerts
The quickest test is a deliberately failing drill: point a test drill at a backup that is too old by setting max_backup_age_hours to a small value, then run it. Confirm that the failure alert arrives in each channel, then restore the correct value. The next passing run sends the recovered alert.
To test missed-drill alerts, stop the scheduled job for a drill and wait past the threshold. Remember to re-enable the job.
Reducing noise
- Set
max_backup_age_hoursto match your backup schedule with a margin. A daily backup with a 26-hour limit gives you two hours of slack. - Set
expected_interval_hoursexplicitly for drills that run weekly, so that the default of 24 hours does not raise false missed alerts. - Use
max_restore_secondsas a real target, not a guess, so that a failure means something.