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

  1. In the dashboard, open the API keys section for your organization and choose Create key.
  2. Name the key after the place it will run, for example github-prod.
  3. 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

  1. Commit the workflow and the config to your default branch.
  2. In GitHub, open Actions → restore-drill → Run workflow.
  3. 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