🌡️ Healthchecks
Monitor your backups with Healthchecks.io (opens in a new tab) integration.
Overview
Crestic integrates with Healthchecks.io to notify you when:
- Backups complete successfully
- Backups fail
- Scheduled backups don't run (dead man's switch)
Healthchecks.io (opens in a new tab) is a cron monitoring service that alerts you when jobs fail or don't run on schedule.
Setup
1. Create Check
In Healthchecks dashboard:
- Click "Add Check"
- Set name (e.g., "Crestic Daily Backup")
- Configure schedule to match your cron expression
- Set grace time (how long to wait before alerting)
- Copy the ping URL
Example ping URL:
https://hc-ping.com/01234567-89ab-cdef-0123-456789abcdef2. Configure Crestic
Add healthcheck URL to your configuration:
Global Configuration
healthcheck_url: https://hc-ping.com/01234567-89ab-cdef-0123-456789abcdef
jobs:
- type: backup
name: documents
# ... rest of configWith Slug
Add slug to ping URL for better identification:
healthcheck_url: https://hc-ping.com/01234567-89ab-cdef-0123-456789abcdef/daily-backups3. Enable Healthchecks
Use the --healthcheck flag to enable notifications:
Manual Backups
# Healthcheck disabled by default
crestic backup --all
# Enable healthcheck explicitly
crestic backup --all --healthcheckCron Scheduler
# Healthcheck disabled by default
crestic cron
# Enable healthcheck explicitly
crestic cron --healthcheckSee Also
- Hooks Guide - Custom notifications with hooks
- Healthchecks.io Documentation (opens in a new tab) - Official docs