| Database | Recovery method | Availability |
|---|---|---|
| Development | Checkpoint rollback | All plans |
| Production | Point-in-time restore | Core: 7 days of history. Pro and Teams: 28 days. |
Restore your development database
You can revert your app and development database to a previous state using the rollback feature. This restores your database to any checkpoint created by Agent.
Make sure to select “Database” under “Additional rollback options” when restoring to the state of a checkpoint. This restores your database to the state it was at the time of the checkpoint.
Restore your production database
For production databases, you can restore to a specific moment using point-in-time restore.
Troubleshooting publishing failures
If publishing fails due to database issues:- Check the publishing logs for specific error messages about database connectivity or schema conflicts
- Review recent schema changes for potential conflicts with existing application code
- Test your changes in a deployment preview before attempting to republish
Next steps
- Development and production: How your two databases work together.
- Checkpoints and rollbacks: Roll your whole app back.