Guide

Supabase PITR: point-in-time recovery, pricing and limits

Point-in-time recovery lets you rewind a Supabase database to a chosen second. How it works, what it costs per project, how a restore runs, and the gaps it leaves.

By Sascha Heyer · Last updated December 4, 2026

Supabase point-in-time recovery (PITR) is an add-on for paid projects that keeps the database’s write-ahead log, so you can restore it to any moment inside the retention window instead of only to last night’s daily backup. It is the right tool after a bad migration at 14:03 or a script that deleted the wrong rows. It is also the most expensive line on many Supabase bills. Here is what you get for the money, as of December 2026.

How Supabase PITR works

Postgres writes every change to its write-ahead log (WAL) before applying it. With PITR switched on, Supabase takes physical backups of the database and archives the WAL next to them. To restore, it replays the log from the last physical backup up to the time you pick. Supabase’s backups documentation describes the granularity as “up to seconds” and says WAL files are archived at two-minute intervals by default, so in the worst case you lose about the last two minutes before a failure.

Two consequences people miss: once PITR is on, Supabase no longer takes the daily backups (PITR covers the same window with finer steps), and it no longer produces the downloadable logical backup file. If you relied on downloading that file, switch to supabase db dump or pg_dump; the export guide has both.

What PITR costs

Supabase bills PITR per project and per hour. The pricing page and the usage docs list:

RetentionPer hourAbout per month
7 days$0.137$100
14 days$0.274$200
28 days$0.55$400

That is on top of the plan (Pro starts at $25 a month) and the project’s compute. PITR is not covered by the spend cap, and a partial hour counts as a full hour. For one production database that matters, $100 a month can be a fair price. For an agency with ten client projects it is $1,000 a month before anyone has made a mistake.

How to switch it on and restore

  1. Open the project, go to Project Settings › Add-ons and pick a point-in-time recovery option. The project must be on a paid plan.
  2. To restore, open Database › Backups › Point in time, choose the date and time, and confirm. The same is available through the Management API (POST /v1/projects/<ref>/database/backups/restore-pitr with recovery_time_target_unix).
  3. Plan for downtime: the docs say the project is inaccessible while the restore runs, and the time grows with the database size. Logical replication subscriptions and slots have to be dropped first.

A PITR restore replaces the current database. Everything written after the chosen moment is gone, including the good writes. If you only need one table back, restoring the whole project to a second is the wrong move; restore a copy somewhere else and copy the rows across, as the restore guide describes.

What PITR does not cover

  • Storage files. Supabase’s backups page says database backups do not include objects stored through the Storage API. Rewinding the database brings back the storage.objects rows, not a deleted image. See Supabase Storage backup.
  • A deleted project. The same docs say that deleting a project permanently removes all associated data, including backups. PITR history is part of the project.
  • Testing. A PITR restore is a production operation. Nobody rehearses it on the live project, so the first real test is the emergency.
  • The free plan. PITR is not available there at all; neither are daily backups.

Do you need PITR?

Ask how much data you can afford to lose (your RPO). If losing up to a day of writes would hurt but not sink you, a daily backup kept outside Supabase plus Supabase’s own daily backups is enough, and much cheaper. If you take payments or orders every minute and a day of lost writes is unacceptable, PITR earns its price, but keep an off-site copy as well, because PITR shares every single point of failure with the project. The PITR vs Liferaft comparison lays out the trade-off, and the disaster recovery guide helps you pick numbers.

Liferaft is the off-site half: a daily pg_dump of the database (auth and storage schemas included) stored in Google Cloud outside Supabase, restored every week into a throwaway Postgres where every table’s rows are counted. Solo is $9 a month for 5 projects, a tenth of one project’s PITR.

Rather not run this yourself? Liferaft runs the dump every night through a read-only role, stores the copy outside Supabase, and restores it every week to count every row. Free for one Supabase project; Solo is $9 a month for five. Back up my Supabase project free

Frequently asked questions

How much does Supabase PITR cost?

As of December 2026, Supabase lists point-in-time recovery at about $100 a month for 7 days of retention, $200 for 14 days and $400 for 28 days, billed per hour ($0.137, $0.274 or $0.55) for each project that has it switched on. It is an add-on to the Pro, Team and Enterprise plans and is not covered by the spend cap.

Does PITR replace the daily backups?

Yes. Supabase’s backups documentation says that once PITR is enabled, daily backups are no longer taken, and the downloadable logical backup file is no longer generated. PITR covers the same window with finer steps.

Can I restore PITR into a new project instead of over the live one?

A point-in-time restore from Database › Backups replaces the current database of the project, which is unavailable while it runs. Supabase also offers “Restore to a new project” on paid plans for projects with physical backups; the new project stays in the same region and does not get the Storage objects.

Is PITR enough on its own?

It is the best tool for undoing a mistake to the second, but its copies live inside the same Supabase project. Deleting the project deletes them, Storage files are not included, and a restore is never tested until you run one. An off-site copy that is restored and counted every week covers those gaps.

More guides

Compare Supabase backup tools