Skip to content
ReviveDB

Backup verification

Every database dump is restored into a clean PostgreSQL database and compared with an inventory from the same snapshot. Storage files and Edge Function bundles are checked separately by byte count and SHA-256 hash.

What is a verified Supabase backup?

A verified Supabase backup is one whose database dump has completed a restore test. The stored dump is restored in an isolated environment and the result is compared with an inventory captured from the same snapshot.

How every database backup is restore-tested

Verification runs as part of every backup.

  1. 1

    Capture the source inventory

    Export one repeatable-read snapshot to pg_dump and the inventory collector. This keeps writes during the backup from creating false differences between the two.

  2. 2

    Restore in a Supabase-aware environment

    Restore the stored dump into a clean, isolated database running Supabase's own PostgreSQL build, so the extensions a project uses are available to restore into. A dump that needs something the target cannot provide fails here rather than during recovery.

  3. 3

    Compare source and restore

    Compare schemas, tables, columns, constraints, indexes, views, functions, policies, RLS state, grants and other database objects. Exact row counts are also compared when the source was captured in exact mode.

  4. 4

    Keep the result with the recovery point

    Record the restore outcome, duration, row-count mode and mismatch counts by category. Customer schema, table and column names stay out of the downloadable report.

Restore-tested and hash-checked are different claims

The database is restored and compared. Storage files and Edge Function bundles are hash-checked.

ComponentVerification methodRecorded result
PostgreSQL database and Auth dataRestored into isolated PostgreSQL and comparedRestore result and inventory comparison
Storage object bytesByte count and SHA-256 hash checksObject manifest and verification state
Edge Function bundlesBundle capture and SHA-256 hash checksFunction manifest and verification state
Secret valuesNever copiedSecret names become manual recovery actions

What a restore puts back

Recovery includes more than rows. The supported restore path reapplies the captured objects below. The report shows the checks performed. Older recovery points may contain less verification information.

  • Schema and data

    Tables, rows, column types, defaults, constraints, indexes, views and materialized views.

  • Functions and triggers

    Function bodies with the search path they were created with, and the triggers that call them.

  • Access as you set it

    RLS policies and forced RLS, grants on tables, sequences, functions and schemas, and the rights you deliberately revoked.

  • Objects outside your schemas

    Policies on Storage and Realtime tables, event triggers and Realtime publication membership. A schema-scoped restore skips these, so they are replayed separately.

  • Extensions and scheduled jobs

    Extensions in the schema they were installed in, pg_cron jobs with their schedule and whether they were on or off, and queues.

  • Beyond the database

    Auth users, Storage files checked by SHA-256 hash, and Edge Function bundles.

Secret values are not copied. A missing extension or dependency can block a restore. Where this can be detected, ReviveDB checks for it before changing anything. These checks do not run your application. To recover to a specific second, use Supabase point-in-time recovery.

Backup checks and our own recovery tests

Each completed database backup is restored into isolated PostgreSQL. Storage files and Edge Function bundles are hash-checked. We also run our own recovery tests. They cover how ReviveDB restores, not your application.

What a green backup job can miss

A restore test checks the saved backup while your project is still available, so a problem shows up before you need the backup.

  • A dump that stopped early or cannot be read back
  • Extensions or database objects unavailable on the restore target
  • Missing grants, policies or row-level-security state
  • Row-count differences when exact row-count mode applies
  • Storage files or Function bundles whose copied bytes do not match

Evidence you can inspect

The report lists the compared object categories, row-count mode, restore duration and mismatches by category. It does not include customer schema, table or column names.

Recovery points are stored with a separate provider in the EU, and every database recovery point has a dated restore test you can open and export.

Supabase backup verification questions

A completed job means the backup process finished. A restore test adds evidence that the saved database artifact can be read and applied in the verification environment. It does not guarantee every future target or application will work unchanged.

Every completed database backup is restored into isolated PostgreSQL and compared with the capture-time inventory. A database backup that fails this check is not marked verified.

No. Storage object bytes and Edge Function bundles are not executable database dumps. Their copied bytes are verified with byte counts and SHA-256 hashes instead.

Supabase operates and monitors its native database backup service. An independent off-platform recovery point and an automated restore test of the logical database backup are added on top.

Create a checked recovery point

Connect one Supabase project free. The database is restore-tested and the result is kept with the recovery point.

Create free account