# ReviveDB: Supabase backups restore-tested against the source schema

DevFeed: [ReviveDB: Supabase backups restore-tested against the source schema](<https://devfeed.tech/articles/revivedb-supabase-backups-restore-tested-against-the-source-schema-105463.md>)

Original publisher: [Read original article](<https://www.postgresql.org/about/news/revivedb-supabase-backups-restore-tested-against-the-source-schema-3422/>)

Published: 2026-10-28T00:00:00Z

Content type: article

Language: en

Sources: [PostgreSQL news](<https://devfeed.tech/sources/postgresql-news.md>)

Topics: [Supabase](<https://devfeed.tech/topics/supabase.md>), [backups](<https://devfeed.tech/topics/backups.md>), [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [database-consistency](<https://devfeed.tech/topics/database-consistency.md>)

Tags: [auth](<https://devfeed.tech/tags/auth.md>), [backups](<https://devfeed.tech/tags/backups.md>), [database](<https://devfeed.tech/tags/database.md>), [edge](<https://devfeed.tech/tags/edge.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [files](<https://devfeed.tech/tags/files.md>), [functions](<https://devfeed.tech/tags/functions.md>), [indexes](<https://devfeed.tech/tags/indexes.md>), [inventory](<https://devfeed.tech/tags/inventory.md>), [policies](<https://devfeed.tech/tags/policies.md>), [policy](<https://devfeed.tech/tags/policy.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [project](<https://devfeed.tech/tags/project.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [restore](<https://devfeed.tech/tags/restore.md>), [row-level-security](<https://devfeed.tech/tags/row-level-security.md>), [schema](<https://devfeed.tech/tags/schema.md>), [supabase](<https://devfeed.tech/tags/supabase.md>), [supabase-backups](<https://devfeed.tech/tags/supabase-backups.md>)

## AI overview

ReviveDB backs up Supabase projects on Postgres 17 outside Supabase and verifies each database backup by restoring it to a temporary PostgreSQL database, then comparing its schema and objects with a source inventory. Checks include tables, row counts, columns, constraints, indexes, sequences, views, functions, triggers, RLS policies, grants and extensions, since matching row counts alone can miss lost constraints or policies. Each run uses a short-lived, read-only Postgres role that can also read rows protected by row-level security. A recovery point includes Auth data, Storage files and Edge Functions, and can be restored to a new Supabase project or to the original after rehearsal on a copy.

## Source excerpt

ReviveDB backs up Supabase projects on Postgres 17 outside Supabase, and restores every database backup into a temporary PostgreSQL database before it counts as verified. The restore is compared with an inventory of the source: tables, rows, columns, constraints, indexes, sequences, views, functions, triggers, RLS policies, grants and extensions. Row counts alone miss a restore that loses a constraint or a policy. Each backup run uses its own short-lived, read-only Postgres role that also reads rows behind row-level security. The same recovery point holds Auth data, Storage files and Edge Functions. A recovery point restores into a new Supabase project, or into the original after a rehearsal on a copy. Free for one project: https://revivedb.dev