Skip to content

Route SQLite backup alerts through incident.io

Send backup alerts to an HTTP source and let an incident.io route choose who gets paged.

Create an HTTP alert source

  • Create an HTTP source

    In incident.io, add an HTTP alert source and copy its events URL and token. Create a route for that source and choose the escalation path for the backup team.

  • Connect Litebackup

    As an admin, open Alerts and choose Add destination. Select incident.io and name the destination. Enter the events URL in HTTPS URL and the token in Bearer token. Litebackup adds the Bearer prefix. Choose Add destination to save it.

An incident.io destination with separate fields for the HTTP source URL and bearer token. An incident.io destination with separate fields for the HTTP source URL and bearer token.

Follow the test through the alert route

On the Alerts page, choose Send test alert in the destination’s controls. The test can page a person. Check that both the trigger and recovery were accepted.

Find the test in incident.io and open its timeline. The firing and resolved events use one deduplication key. The timeline shows which route matched and whether the route escalated or created an incident. The incident.io alert timeline.

Route on the measure

Litebackup includes the threshold measure, limit, peak and server ID in the alert metadata. If the team receives the test but misses a real alert, compare that alert’s metadata with the route conditions. Use the source link on the alert to inspect the readings in Litebackup.

Enable alerts

Check how many alerts are firing before choosing Enable delivery. Each server sends its open alerts immediately, then reports new alerts and recoveries for all enabled thresholds.

Add the destination from the server CLI

As an alternative to the console form, run this on the Litebackup server and enter the credentials at the prompt.

# Add the destination from the Litebackup server host.
litebackup server alert-destination add \
    --provider incidentio \
    --name "incident.io"

Install

Install Litebackup and back up a SQLite database to start monitoring it. Choose another paging service or chat channel in the alert integrations guide.