Skip to content

Send SQLite backup alerts to Opsgenie

Send a P2 alert to an existing Opsgenie team and close it automatically when the threshold recovers.

Connect an Opsgenie team

  • Get the team’s API key

    Add an API integration to the Opsgenie team that handles backups. Enable it, allow it to create and close alerts, and copy its key.

  • Connect Litebackup

    As an admin, open Alerts and choose Add destination. Select Opsgenie and name the destination. Paste the key into Integration key. Leave HTTPS URL blank for the US, or enter https://api.eu.opsgenie.com/v2/alerts for the EU. Choose Add destination to save it.

Opsgenie selected with fields for the integration key and regional endpoint. Opsgenie selected with fields for the integration key and regional endpoint.

Check the closed test alert

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.

Include closed alerts in the team’s alert list and open the P2 test. Litebackup sets the alias on the first request and uses it to close the alert. If it stays open, inspect the integration’s close action and permissions.

Move an existing team to Jira Service Management

Atlassian ended new Opsgenie sales on June 4, 2025 and lists April 5, 2027 as the end of support. During migration, test the new Jira destination before switching. Close any remaining Opsgenie alerts when retiring the old destination. Atlassian’s migration guide · Litebackup with Jira Service Management.

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 (US endpoint)

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 opsgenie \
    --name "Opsgenie"

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.