Who can restore a database
Restoring changes live data, so it’s limited to people who can already edit the database.- Personal apps: the owner and collaborators with edit access.
- Workspace apps: members with the Editor, Publisher, or Owner access level on the app. Members with Read-only access can’t restore.
Restore your development database
Your development database is restored together with your code through checkpoint rollback. Select Rollback here on any checkpoint Agent created. The confirmation dialog lists what’s affected: your files, your development database, and Agent’s memory all return to the state they were in at that checkpoint.Checkpoint rollback never touches your production database. To recover production data, use one of the methods below.
Restore your production database to a point in time
Point-in-time recovery (PITR) keeps a continuous history of your production database. It’s turned on when the database is created, with a 7-day window, and you can restore to any second inside that window.Change the retention window
- Open the Database tool and select Production.
- Open Settings, then expand Point-in-time recovery under Advanced.
- Choose a window under Recovery window.

Restore
- In Point-in-time recovery, select Restore database….
- Under Timestamp, enter the date and time to go back to. Times are in your local time zone, and the moment must be inside your recovery window.
- Select Restore.

Schedule daily production backups
Scheduled backups take one full snapshot of your production database each day while active and keep it for the period you choose. They’re a lower-cost complement to PITR: fewer restore points, but each one is a complete copy that doesn’t depend on the PITR window.To reduce storage costs, Neon automatically archives your production database after 24 hours without access. Scheduled backups are skipped while the database is archived. Connecting wakes the database, and backups resume at the next scheduled daily time, not immediately on connection.
Turn on scheduled backups
- Open the Database tool and select Production.
- Open Settings, then expand Scheduled backups under Advanced.
- Choose a period under Keep backups for. Core supports 7 days; Pro, Teams, and Enterprise can choose 7, 14, or 28 days.

Restore a backup
- In Scheduled backups, select View all backups.
- Select Restore next to the backup you want.
- Read the warning, type
restore, and select Continue.


Storage costs
Production database storage is metered in three categories. Checkpoint rollback for development databases has no separate charge.
Database storage applies to every production database. PITR history grows with how much your data changes and how long your window is; scheduled backups grow with the number of days kept. If daily restore points are enough for your app, a shorter PITR window plus scheduled backups usually costs less than a long PITR window. See usage-based billing for how storage appears on your bill.
Next steps
- Development and production databases: How your two databases work together.
- How Publish updates your production database: Review and test schema changes before they reach production.
- Checkpoints and rollbacks: Roll your whole app back.
- Export your production database: Download your own copy of your production data.