Supabase backups: what your plan keeps, and how to prove you can restore.
Most Supabase apps have backups on paper. Fewer have a backup someone has restored. This guide shows what each plan really keeps, what no database backup holds, what point-in-time recovery costs, and a restore drill you can run in an afternoon to find out whether your backup would save you.
First: a backup you have never restored is a hope
A backup fails in quiet ways. The plan never included one. It holds the tables but not the files your users uploaded. It restores, but into a project that now sends every scheduled email a second time. You only find out when you need it, which is the worst time. The fix is boring: know what your plan keeps, keep a copy outside Supabase, and restore it somewhere harmless on a schedule. Do every step below on your own project, and restore into a new or local project, never over the live one.
What each Supabase plan keeps.
From Supabase's backup documentation and pricing page on 23 November 2026. Plans change, so check the current pages before you rely on a number.
Free: no automatic backups
The pricing page lists automatic backups as not included on Free. Supabase's own advice for Free projects is to export the data regularly with supabase db dump and keep the copies somewhere else. Free projects with low activity over 7 days are also paused; Supabase says a paused project can be restored for up to a year.
Pro: daily backups, 7 days
Supabase backs up every Pro project once a day and keeps the last 7 days. You find them in the Dashboard under Database, then Backups. If a bad import or a broken migration goes unnoticed for eight days, the last clean copy is gone.
Team: 14 days. Enterprise: up to 30
Same daily backups, longer history. Team keeps 14 days, Enterprise up to 30. The longer window helps when a data problem is found late, which is when most data problems are found.
Point-in-time recovery: an add-on
PITR lets you restore to a chosen moment instead of last night. Supabase puts the worst case at two minutes of lost data (a recovery point objective of two minutes). It is an add-on for Pro, Team and Enterprise, available on all compute sizes, charged by the hour.
What PITR costs
Supabase's usage page lists 7 days of recovery at $0.137 an hour (about $100 a month), 14 days at $0.274 (about $200) and 28 days at $0.55 (about $400), on top of the plan. For many early apps, a daily backup plus your own nightly dump is enough. PITR earns its price once losing a day of orders or bookings would hurt.
PITR replaces the daily backups
One detail people miss: Supabase says that once PITR is on, it no longer takes daily backups. PITR covers that window instead. Turn PITR off and you need a fresh manual backup, because physical backups cannot be downloaded directly.
What is not in your backup.
Every item here comes from Supabase's own documentation. Each one needs its own copy, or a note on how to set it up again.
supabase functions download pulls them if they only live in Supabase), and keep a written list of the auth providers, redirect URLs and email settings. pg_dump. The restore drill, in five steps.
Run it once now and then on a schedule, monthly for an app with real users. The commands for each step are in the next section.
Take a dump you control
Use the three supabase db dump commands from Supabase's CLI guide: roles, schema and data. Store the files outside Supabase, encrypted, somewhere the person who deletes the project cannot also delete them.
Count what you have
On the live project, record the row count of every table in public, the number of users in auth.users, and the number of objects per Storage bucket. These are the numbers the restore must match.
Restore into a scratch project
Create a new Supabase project (or a local one with supabase start), enable the same extensions, and restore the dump with psql as Supabase documents. Never restore over the live project to test.
Compare, then open files
Run the same counts on the restored copy. Then pick a few real records with attachments and try to open the files. Matching object counts prove nothing, because the metadata is in the dump even when the files are not.
Write down what you had to fix
Every manual step you needed is a step someone will need on a bad day: an extension to enable, a role password, an auth setting, a function to deploy. Keep the list next to the dumps, with the date of the drill.
The commands for each step.
The dump and restore commands are Supabase's own, from its CLI backup guide. They need the Supabase CLI, Docker and psql. Use the connection string from the Connect panel in your project.
Three files, as in Supabase's guide. Note the flag is --remote in the current docs; older blog posts use --db-url.
supabase db dump --remote=[CONNECTION_STRING] -f roles.sql --role-only
supabase db dump --remote=[CONNECTION_STRING] -f schema.sql
supabase db dump --remote=[CONNECTION_STRING] -f data.sql --use-copy --data-only \
-x "storage.buckets_vectors" -x "storage.vector_indexes"The dump holds your data, and probably personal data. Treat the files like the database itself.
This returns an exact row count for each table in public, in one query. Run it on the live project and save the result.
select table_name,
(xpath('/row/cnt/text()',
query_to_xml(format('select count(*) as cnt from %I.%I',
table_schema, table_name), false, true, '')))[1]::text::bigint
as row_count
from information_schema.tables
where table_schema = 'public' and table_type = 'BASE TABLE'
order by table_name;
select count(*) as users from auth.users;
select bucket_id, count(*) as objects
from storage.objects
group by bucket_id
order by bucket_id;On a busy app the numbers move while you count. Note the time, and expect small differences on tables that change every minute.
Supabase's guide: create the new project, enable Database Webhooks and any non-default extensions the old project used, then run:
psql \
--single-transaction \
--variable ON_ERROR_STOP=1 \
--file roles.sql \
--file schema.sql \
--command 'SET session_replication_role = replica' \
--file data.sql \
--dbname [CONNECTION_STRING]Setting session_replication_role to replica turns triggers off while the data loads; Supabase's reason is that encrypted columns are not encrypted a second time. Single transaction plus ON_ERROR_STOP means a failed restore leaves nothing half-loaded. The guide also lists known errors and their fixes, such as lines that set ownership to supabase_admin.
Run the step 2 queries on the restored project and compare them side by side.
- A table with fewer rows: the dump missed data, or the restore stopped and you missed the error. Find out before you trust the dump.
- A different user count: check how your dump handles the
authschema before you rely on it for a real recovery. - Equal object counts: expected, and not proof. Download a few files from the restored project's buckets. If they are missing, your Storage backup is the gap.
When you need to restore for real.
A drill is calm. A real restore happens with users waiting. Four things from Supabase's documentation decide how it goes.
pg_cron, pg_net and wrappers. Supabase notes that these jobs start running as soon as the restore completes, and there is no way to pause them first. A copy made to inspect old data can send reminder emails or call webhooks. Check the scheduled jobs in the copy straight away. Which setup fits your app.
A rough guide, not a rule. The right answer depends on how much a lost day of data would cost you.
A prototype nobody depends on yet
Free is fine. Take a supabase db dump before every large change, especially before letting an AI tool rewrite the schema, and keep the files in Git or cloud storage.
Real users, but losing a day is survivable
Pro with daily backups, plus your own nightly dump outside Supabase for the history beyond 7 days and for the case where the project itself is gone. Back up Storage buckets separately. Run the drill monthly.
Orders, bookings or payments every hour
Add PITR so a restore loses minutes, not a day. Keep the external dumps anyway, and remember that daily backups stop once PITR is on.
Uploaded files that matter
Whatever the plan, the files need their own backup and their own check in the drill. Contracts, invoices and ID documents are often the data a business can least afford to lose.
Questions about Supabase backups.
supabase db dump and keeping off-site copies. pg_dump, as in step 1. Sources
Last checked 23 November 2026. Supabase changes plans, prices and commands over time, so check the current documentation before you rely on a detail.
Supabase: Database Backups Daily backups per plan, PITR, what backups leave out, in-place restores.
Supabase: Manage Point-in-Time Recovery usage PITR prices per retention period.
Supabase: Pricing Backups included per plan.
Supabase: Restore to a new project What is copied, and jobs that start running.
Supabase: Backup and restore using the CLI The dump and restore commands, and what does not carry over.
Supabase: Free project pausing When Free projects pause, and for how long they can be restored.
PostgreSQL: Backup and Restore and pg_dump The Postgres tools underneath.
Book a free teardown.
Tell us what your app does and where its data lives. With the owner's consent, we spend 20 minutes on its riskiest part, often whether the backups would really bring it back, and tell you what to fix first.