Quickstart
From sign-up to your first passing restore drill. You need a backup in S3-compatible storage, a local file, or a command that writes a dump, and a CI system or Kubernetes cluster that can reach it.
1. Sign in
Go to sign in with GitHub. Your organization is created on first sign-in with a 14-day trial. No card is needed.
2. Create an API key
- In the dashboard, open the API keys section for your organization and choose Create key.
- Name the key after the place it will run, for example
github-prod. - Copy the key now. It starts with
rp_live_and is shown only once. RestoreProof stores a hash of it.
3. Add the secret to your CI
In GitHub, go to Settings → Secrets and variables → Actions in the repository that will run drills, and add a repository secret named RESTOREPROOF_API_KEY. In GitLab CI, add a masked, protected variable with the same name.
Never commit the key to a file or put it in restoreproof.yml.
4. Describe the drill
Create restoreproof.yml at the root of the repository. This minimal example checks one Postgres backup in S3:
version: 1
drills:
- name: prod-postgres
engine: postgres
engine_version: "16"
source:
s3:
bucket: my-backups
prefix: pg/prod/
region: eu-central-1
format: custom
checks:
min_tables: 10
max_restore_seconds: 900
max_backup_age_hours: 26
Every key is explained in the configuration reference.
5. Validate and run locally
Before you schedule anything, check the file and run one drill without reporting:
restoreproof validate --config restoreproof.yml
restoreproof drill --config restoreproof.yml --drill prod-postgres --no-report
The drill restores the newest backup into a throwaway database, runs the checks, prints the report and removes the database. The exit code is 0 if the drill passed, 1 if it failed and 2 for configuration errors.
6. Add the workflow
Add a workflow that runs the drill on a schedule. This is the minimal version; the GitHub Actions guide covers AWS OIDC, GitLab CI and failure handling.
name: restore-drill
on:
schedule:
- cron: "17 3 * * *"
workflow_dispatch:
jobs:
drill:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: restoreproof/runner@v1
with:
config: restoreproof.yml
drill: prod-postgres
api-key: ${{ secrets.RESTOREPROOF_API_KEY }}
7. Run the first drill
- Commit the workflow and the config to your default branch.
- In GitHub, open Actions → restore-drill → Run workflow.
- When the job finishes, open the dashboard. The drill appears with its status, restore time, backup age and checks.
If the drill has not run within its expected interval, RestoreProof will alert you. Check the schedule and the job logs if that happens.
Backups stay where they are. The runner reads the backup inside your job and sends only metadata to RestoreProof. Details are on the security page.
Next steps
- Add checks: per-table row minimums and SQL assertions in restoreproof.yml.
- Run drills from a cluster instead: Kubernetes CronJob.
- Set up alerts: alerts.
- Generate a pack for your auditor: evidence packs.