Backups for Supabase projects
Every Supabase database needs a life raft.
Daily off-site backups of your Supabase project: Postgres database, auth users, Storage files and Edge Functions. Every week we restore one and count every row, so you know it floats. When you need it back, restore it into a new Supabase project in one go.
1,284,906 rows. All of them came back.harbor-crm-prod, restored from last night’s copy in 6 m 41 s.
38 tables matched the manifest, row for row, including auth.users and storage.objects. The copy sits in its own cloud bucket, outside your Supabase account, and the drill ran in a throwaway Postgres that was deleted afterwards.
This is an example of the weekly report. Yours shows your own tables.
Restore drill #48
Example report · Thu 3 Dec, backup of 03:00 UTC · Postgres 15.8 scratch instance
| Table | Backup | Restored | Check |
|---|---|---|---|
| public.invoice_lines | 601,233 | 601,233 | match |
| public.invoices | 412,880 | 412,880 | match |
| public.time_entries | 198,377 | 198,377 | match |
| public.customers | 24,118 | 24,118 | match |
| auth.users | 18,412 | 18,412 | match |
| storage.objects | 9,733 | 9,733 | match |
| public.projects | 6,904 | 6,904 | match |
| 31 more tables | 13,249 | 13,249 | match |
Built for Supabase
What we back up
Your project’s Postgres with pg_dump: your own schemas, the auth schema (auth.users, identities) and the storage schema, plus the files in your Storage buckets and, connected with Supabase, your Edge Functions. Supabase-managed schemas like realtime and vault are skipped; a new project brings them.
How we connect
A read-only liferaft_backup role (BYPASSRLS, pg_read_all_data) through your Supavisor session pooler, matched to your project ref. Or Connect with Supabase: a temporary read-only login role per run, no stored password.
Why off-site
Supabase’s own backups live inside the project. A deleted project takes them with it, the free plan has none, a paused free project can come back empty, and PITR costs about $100 a month per project.
Edge Functions too
Connected with Supabase, every backup also copies your Edge Functions: the deployed code, their settings and the names of their secrets, never the values. Every drill checks each copy against its checksum. On Solo and Agency.
Restore into a new project
Pick a copy, pick an empty Supabase project, type its name. Liferaft restores your schemas and data, auth users, Storage files and Edge Functions, then counts every table there and emails you the result. On Solo and Agency; on Agency also as a staging copy with personal data masked.
Never over your data
A restore only goes into an empty project: one with tables, users, Storage files or Edge Functions of its own is refused. Your original project is only ever read, never written to.
Liferaft watches your Supabase project
Pause guard
We tell you when Supabase pauses your project (Free projects pause after a week of low activity): one email with the date of your newest copy and how to resume it. While it stays paused you get no stream of failure emails, and no copy is deleted. On every plan.
Cron monitor
Failed or missed pg_cron jobs by email, with the error and how often it failed that day. Read with every backup, and hourly with Connect with Supabase. On Solo and Agency.
Why a second copy
Supabase keeps your data safe. It does not keep a copy you can count on.
Liferaft is an off-site backup service for Supabase projects. Every day (every week on the free plan) it dumps your Postgres database, including the auth schema with your users and the storage schema with your file list, and stores the copy outside Supabase. Every week it restores the newest copy into a fresh Postgres and counts the rows of every table, then emails you the result. It costs $9 a month for five projects, and one project is free.
Here is what you get from Supabase itself, plan by plan, and where the gaps are:
- Free plan: no backups. A free project has no backup you can restore. If a migration drops the wrong table, or a free project is paused and something goes wrong on the way back, there is nothing to go back to.
- Pro plan: 7 daily backups. Pro ($25 a month) keeps a daily backup for seven days, Team for fourteen. That covers last night, not the bug that quietly corrupted rows twelve days ago.
- Point-in-time recovery: about $100 a month. PITR rewinds to any second and is excellent. It is also an add-on that costs more than most side projects earn, per project.
- Same vendor, same account. Supabase’s backups live inside the project. Delete the project, by accident or by a script, and Supabase says all associated data including backups is permanently removed. A locked billing account or a lost login has the same effect.
- Files are not in the database backup. Supabase Storage keeps the file list in
storage.objects, but the files themselves live in object storage. A database backup restores the list of avatars and invoices, not the avatars and invoices.
None of this is a flaw in Supabase. It is the normal rule of backups: a copy that lives with the original is not a backup of the original, and a copy that has never been restored is a hope. Liferaft does the two things that turn it into a backup: it keeps the copy somewhere else, and it proves the copy restores.
How it works
From Supabase project to tested backup in four steps
Connect your Supabase project
Run a two-line snippet in the Supabase SQL Editor that creates a read-only backup role, paste your Supavisor session pooler string. Liferaft tests it and starts the first backup at once.
Nightly pg_dump, off-site
pg_dump matched to your project’s Postgres 15 or 17, with auth and storage, gzipped into a bucket outside Supabase. Row counts come from the same snapshot.
Weekly restore drill
The newest copy is restored into a throwaway Postgres of the same major version, and every table is counted again and compared.
Email report
Pass or fail, every table with its rows, and every access to your project that week. If a backup fails, you hear about it the same night.
What “all of them came back” means
When Liferaft dumps your database it opens one read-only transaction, exports its snapshot, counts every table with count(*) inside it, and runs pg_dump on that same snapshot. So the manifest stored next to the copy says exactly how many rows the file holds, even while your app keeps writing. The drill restores the file with psql into an empty database and counts again. The checksum of the file is verified before the restore, so a damaged copy fails loudly instead of restoring half a table. Only when every table comes back with exactly the same count does the drill pass.
The comparison is deliberately boring: rows per table, not a promise about your application. It catches the failures that actually happen to backups: a dump that stopped half way, a table pg_dump could not read because of row level security, a file truncated on upload, a restore that silently skipped data because of a missing role or extension.
Trust
You are handing us your Supabase database. Here is what we do with that.
A read-only role
Our SQL snippet creates liferaft_backup with BYPASSRLS and membership in pg_read_all_data. It can read every row so the backup is complete, and it cannot write, alter or delete anything. Drop the role and access ends.
No stored password with Connect with Supabase
With the OAuth connect (rolling out with our Supabase integration), Liferaft mints a temporary read-only login role for each run through the Supabase Management API and deletes it after the dump. No database password is ever stored.
Encrypted at rest
Connection strings, OAuth tokens and Storage keys are encrypted with Google Cloud KMS; the key never leaves Google’s key service. Copies sit in a private Cloud Storage bucket in the EU and are only reachable through 15-minute signed links you create.
An access log you can read
Every connection test, every dump with the role it used and the bytes it read, every download link and every drill is listed on the project page and in the weekly email. If something touched your project, you see it.
A worker you can read
The code that connects to your database (the dump, the snapshot counts and the restore drill) is source-available on GitHub (FSL, becomes MIT after two years), together with the liferaft CLI, so you can read and run it yourself. The hosted part you pay for is the schedule, the storage, the drills and the alerts.
Your copy, in plain SQL
Every backup is a standard .sql.gz from pg_dump. No proprietary format, no lock-in: download it and restore it with psql into any Postgres or a new Supabase project, with or without us.
Compared
Where Liferaft fits next to Supabase’s own backups
| Liferaft Solo | Supabase Free | Supabase Pro | Pro + PITR | |
|---|---|---|---|---|
| Price per month | $9 for 5 projects | $0 | $25 | about $125 |
| Backups you can restore | daily, 30 days | none | daily, 7 days | any second, 7 days |
| Survives a deleted project | yes, off-site | no | no | no |
| Storage files | yes, on Solo and Agency | no | no | no |
| Edge Functions | code, settings, secret names | no | no | no |
| Restore into a new project | one click: database, users, files, functions | no | database only | database only |
| Staging copy, personal data masked | on Agency | no | no | no |
| Restore tested for you | weekly, row by row | no | no | no |
| Email when the project is paused | yes, on every plan | Supabase emails the owner | never paused | never paused |
| Failed or missed pg_cron jobs | emailed | no alert | no alert | no alert |
| Download as plain SQL | yes, every copy | no | yes | yes |
Supabase figures from supabase.com/pricing and the backups documentation, December 2026.
Who it is for
For the Supabase app that grew up faster than its backups
Most Supabase projects start as a weekend build, often with an AI coding tool, and turn into something people use before anybody thought about backups. If that is your project, you are who Liferaft is for: indie developers with a paying product on the free or Pro plan, small SaaS teams who want an off-site copy without running their own cron jobs, and agencies who look after a dozen client projects and need to show each client that their data is safe.
You could build this yourself, and our guide to backing up a Supabase database shows exactly how. What takes the time is everything around the pg_dump line: matching the Postgres version, the RLS error, the pooler, somewhere safe to store the files, pruning old copies, noticing when the cron job silently stopped, and above all restoring a copy now and then to see that it works. Liferaft does that part, for less than a lunch a month.
Running many client projects? Liferaft for agencies covers 30 projects with daily backups kept for 90 days.
Questions
Frequently asked questions
Does Supabase back up my database already?
On the Free plan, no: Supabase keeps no backups you can restore. On Pro it keeps daily backups for 7 days (Team: 14 days), and point-in-time recovery is an add-on at about $100 a month. All of those copies live inside the same Supabase account as the project, so deleting the project deletes them too, and none of them include the files in Storage.
What does Liferaft back up?
Your Postgres database with pg_dump: schema and data of your own schemas, plus the auth schema (your users) and the storage schema (the list of your Storage files). Supabase-managed schemas like realtime, vault and graphql are skipped because a new Supabase project creates them itself. With your project’s secret key, Liferaft also copies the Storage files themselves, incrementally. Connected with Supabase on Solo or Agency, it also copies your Edge Functions: the deployed code, their settings and the names of their secrets (never the values), and every drill checks each copy against its checksum.
What is a restore drill?
Once a week Liferaft takes the newest copy, restores it into a fresh, throwaway Postgres of the same major version, and counts the rows of every table. Those counts are compared with the counts taken at backup time, in the same database snapshot as the dump. You get an email with every table, the expected and restored rows, and pass or fail. A backup that has never been restored is a hope; a drill makes it a fact.
Can Liferaft change or delete my data?
No. The role you create with our SQL snippet can only read: it is a member of pg_read_all_data and has BYPASSRLS so pg_dump sees every row despite row level security, and nothing else. Liferaft never writes to your database. Restores in the drill happen in an isolated scratch database, never in your project.
Where are my backups stored, and who can read them?
In a Google Cloud Storage bucket in the EU, separate from Supabase, so a deleted or locked Supabase account does not take the copies with it. Connection strings and keys are encrypted with Cloud KMS. Every access to your project, every download link and every drill is listed in the project’s access log. You can download any copy as a plain .sql.gz file and restore it anywhere with psql.
How much does it cost?
Free covers 1 project with a weekly backup, a weekly drill and 7 days of copies. Solo is $9 a month or $90 a year for 5 projects with daily backups kept 30 days. Agency is $29 a month or $290 a year for 30 projects kept 90 days, with a team of up to 10 people (you included). Every plan includes the weekly restore drill. Each plan includes compressed database copies for all projects together (the newest copy of each, added up): 0.5 GB on Free, 2 GB on Solo plus 25 GB of Storage files, 4 GB on Agency plus 100 GB of files. Extra database size is $5 a month per GB. Cancel any time; there is no lifetime price.
Does a backup add egress to my Supabase bill?
Yes, a little, and the same is true for every backup that runs outside Supabase. Each backup reads your database once through the connection pooler, uncompressed, and Supabase counts that as egress: 5 GB a month are included on Free, 250 GB on Pro and Team, then $0.09 per GB (December 2026). On Supabase Free, keep backups weekly; daily backups of a large database add egress on your Supabase bill. Storage file copies are incremental, so after the first run they only read new and changed files.
Does Liferaft notice when Supabase pauses my project, or a cron job fails?
Yes. On every plan, Liferaft emails you once when Supabase pauses the project (Free projects are paused after a week of low activity), with the date of your newest copy and how to resume it; while it is paused, Liferaft makes no new backups and deletes none of your copies. Connected with Supabase, Liferaft reads the project status from the Supabase Management API every few hours; with a connection string, two backups in a row that fail the way a paused project fails count as paused. On Solo and Agency, Liferaft also reads your pg_cron jobs (cron.job and cron.job_run_details, read-only) with every backup, and hourly when connected with Supabase, and emails you when a job fails or has not run for more than twice its schedule. You can mute the cron emails per project.
Is this instead of Supabase PITR?
It is a different job. Point-in-time recovery rewinds a database to any second, inside Supabase, and costs about $100 a month per project. Liferaft keeps tested daily copies outside Supabase for a fraction of that. Many teams on Pro keep Supabase’s own daily backups and add Liferaft as the off-site copy that survives an account problem.
Which Postgres versions work?
The ones Supabase runs: Postgres 15 and 17 today, and 16. Liferaft detects the server version on every run and uses the matching pg_dump, so you never see a "server version mismatch" error, and the drill restores into the same major version.
How do I restore a copy into a new Supabase project?
On Solo and Agency, press “Restore into a project…” next to a copy, authorize Liferaft for the target (it can be in another Supabase organization), pick an empty project and type its name. Liferaft restores your schemas and data, auth users, Storage buckets and files and Edge Functions, counts every table on the target against the copy, and emails you the result with the secret names to set. It only restores into an empty project, so nothing is overwritten. On any plan you can also download the .sql.gz and run gunzip -c backup.sql.gz | psql "<new project connection string>"; the guide on restoring a Supabase backup walks through it.
Is Liferaft made by Supabase?
No. Liferaft is an independent service for Supabase projects, made by Sascha Heyer. It is not affiliated with or endorsed by Supabase Inc. Supabase is a trademark of Supabase Inc.
Put a life raft under your Supabase project tonight.
Sign in with Google or an email link, connect a Supabase project in about three minutes, and the first backup starts right away. Free for one project, no card.