Files
supabase/apps/docs/content/guides/local-development/restoring-downloaded-backup.mdx
supabase-vercel-tedd[bot]andAli Waseem 08753bf24f docs: remove 90-day restore window screenshots from pausing guides (#54302)
## Problem

The docs state that a paused Free plan project can be restored for 1
year. Screenshots on the Upgrading guide and the local backup restore
guide still showed the old 90-day restore window, which contradicts the
text.

## Solution

The Upgrading guide drops the paused-project screenshot that showed a
90-day countdown. The download-backups screenshots on the Upgrading
guide and the "Restoring a downloaded backup locally" guide are cropped
to the Download backups menu, so they keep the useful part (where to
download the backup and find its Postgres version) without the outdated
90-day banner. Both images get alt text that describes what they show.
The `#90-day-window-to-restore` anchor on the Project Pausing page stays
as it is, so existing links keep working.

## How to verify

1. Open
https://docs-git-tedd-paused-restore-window-screenshots-supabase.vercel.app/docs/guides/platform/upgrading#time-limits
and
https://docs-git-tedd-paused-restore-window-screenshots-supabase.vercel.app/docs/guides/local-development/restoring-downloaded-backup#downloading-your-backup.
2. The Time limits section shows no "90 Days Remaining" screenshot, and
its one remaining backup screenshot shows only the Download backups
menu.
3. The Downloading your backup section shows the Download backups menu
with the Postgres version highlighted, and no "90 days" text.
4.
https://docs-git-tedd-paused-restore-window-screenshots-supabase.vercel.app/docs/guides/platform/free-project-pausing#90-day-window-to-restore
still jumps to the Restore window section.

## Checks

Ran `pnpm exec oxfmt --check` on both changed MDX files. Searched
`apps/docs/content` for remaining 90-day restore references and the repo
for references to the removed image. Checked the 1-year window against
the Studio paused-project screens (`PauseDisabledState.tsx`,
`formatRestoreWindow`). No TypeScript changed, so typecheck and lint
were not affected; `build:guides-markdown` was not run in this
environment.

## Checklist

- [x] I have read the [Contributing
Guidelines](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] I have checked that the change works in the preview deployment

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
Co-authored-by: Ali Waseem <waseema393@gmail.com>
2026-11-30 14:07:11 +00:00

51 lines
2.2 KiB
Plaintext

---
title: Restoring a downloaded backup locally
subtitle: Restore a backup of a remote database on a local instance to inspect and extract data
---
If your paused project has exceeded its [restoring time limit](/docs/guides/platform/upgrading#time-limits), you can download a backup from the dashboard and restore it to your local development environment. This might be useful for inspecting and extracting data from your paused project.
<Admonition type="caution">
If you want to restore your backup to a hosted Supabase project, follow the [Migrating within Supabase guide](/docs/guides/platform/migrating-within-supabase) instead.
</Admonition>
## Downloading your backup
First, download your project's backup file from dashboard and identify its backup image version (following the `PG:` prefix):
<Image
alt="The Download backups menu on a paused project, with the Postgres version highlighted next to the Database backup option, here PG: 15.6.1.115"
src="/docs/img/guides/platform/paused-dl-image-version.png"
width={350}
height={116}
/>
## Restoring your backup
Given Postgres version `15.6.1.115`, start Postgres locally with `db_cluster.backup` being the path to your backup file.
```sh
supabase init
echo '15.6.1.115' > supabase/.temp/postgres-version
supabase db start --from-backup db_cluster.backup
```
Note that the earliest Supabase Postgres version that supports a local restore is `15.1.0.55`. If your hosted project was running on earlier versions, you will likely run into errors during restore. Before submitting any support ticket, make sure you have attached the error logs from `supabase_db_*` docker container.
Once your local database starts up successfully, you can connect using psql to verify that all your data is restored.
```sh
psql 'postgresql://postgres:postgres@localhost:54322/postgres'
```
If you want to use other services like Auth, Storage, and Studio dashboard together with your restored database, restart the local development stack.
```sh
supabase stop
supabase start
```
A Postgres database started with [Supabase CLI](/docs/guides/local-development/cli/getting-started) is not production ready and should not be used outside of local development.