Skip to content
Supabase backup

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 says database backups do not include objects stored through the Storage API, because the database only holds metadata about them. Restoring an old backup also does not bring back files deleted since. If your users upload invoices, photos or contracts, the database backup gives you a list of files that may no longer exist. Back up the buckets separately; Supabase's migration guide links a script that copies objects between projects.
Daily backups do not store passwords for custom roles, and they are not in the downloadable files either. If your app or a reporting tool signs in with its own Postgres role, write down how to reset its password after a restore.
A restore to a new project copies the database, not the project around it. Edge Functions, auth settings, API keys, Realtime settings, database settings, integrations and add-ons stay behind. Keep your functions in Git (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.
Supabase permanently removes a deleted project's data, including the backups it stores. Backups inside the same account protect against mistakes in the data, not against losing the project or the account. That is why a copy outside Supabase matters.
Projects on recent Postgres versions use physical backups, which Supabase says are not available for direct download. If you want a file you can keep, take a logical dump yourself with the CLI or 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.

1

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.

2

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.

3

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.

4

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.

5

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 auth schema 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.
Supabase lists what does not travel with a CLI restore: Storage objects, Edge Functions, auth settings and API keys, database settings, integrations and add-ons, passwords for LOGIN roles, and Realtime publications, which you enable again. If the project uses Vault or encrypted columns, the guide says to copy the old project's root key to the new one, or the restored secrets cannot be decrypted. Each of these goes on your list from step 5 of the drill.

Want someone to run this drill every month?

That is part of Care. After a fix or build, we keep the app running: monitoring, backups of the database and the uploaded files, tested by restoring them into a separate copy, dependency and security updates, and small changes. Everything stays in your accounts. Care costs 15–25 % of the build price per year, excl. VAT, and starts with a free 20-minute teardown, with the owner's consent.
See Care

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.

Restoring a daily backup or a point in time into the same project makes it inaccessible while the restore runs, and Supabase says the downtime grows with the size of the database. Tell your users before you start, not after.
A point-in-time restore replaces the current database state, and changes after the chosen moment are not included. If good data arrived after the bad change, an in-place restore throws it away too. In that case Supabase suggests restoring to a new project first, so you can copy the good rows back.
Restore to a new project (paid plans with physical backups) copies the whole database, including extensions that act on the outside world such as 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.
If the project uses logical replication, Supabase's backup page says subscriptions and replication slots must be dropped before a restore and created again after it. Put that on your list if it applies.

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.

No automatic backups on Free, according to Supabase's pricing page. Supabase recommends exporting the data regularly with supabase db dump and keeping off-site copies.
Daily backups are kept 7 days on Pro, 14 days on Team and up to 30 days on Enterprise. With the PITR add-on you choose 7, 14 or 28 days of recovery, and daily backups stop.
No. Supabase's backups hold only the metadata about Storage objects, not the files. They need a separate backup.
Not the physical backups newer projects use. For a file you can keep, take a logical dump with the CLI or pg_dump, as in step 1.
Both give you a logical dump you can keep. For moving or restoring between Supabase projects, Supabase's guide uses the CLI commands in step 1, with roles in their own file and two internal storage tables left out. Use them as written.
If the app uses a Supabase project, the backup rules for that project apply. Check which account the project lives in and which plan it is on: you can only rely on backups in an account you control. Webnorly is independent of Lovable and Bolt.
Backups are part of keeping data available and are useful readiness evidence, as is a dated record of restore drills. Dumps also hold personal data, so store and delete them with the same care as the database. What the law requires of you is a legal question, and this guide is not legal advice.
Yes, if you own the app or the owner agrees. It starts with a free 20-minute teardown. Restore drills are part of Care, at 15–25 % of the build price per year.

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.

Before you need it

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.