How backups work and how to restore data
pg_dump
.
In addition, for projects with critical data or those requiring precise recovery control, we offer point-in-time recovery as an add-on. This feature continuously backs up your data and lets you restore your database to any specific moment. It’s ideal for applications where every transaction matters and you need the ability to recover from any point in time, not just daily backups.
Something important to note is that backups don’t include your storage files. A backup will include all of your files metadata and permissions but not the files themselves. Similarly, Run services’ data (if any) is not included in our managed backups.
For details visit the pricing page
psql
, pg_dump
or pg_restore
it is recommended to use a version as close as possible to your database.Download the backup and uncompress it
unzip
or similar toolglobals.sql
and database.custom
Restore global objects
globals.sql
, you can restore those objects with psql
:Restore the database
pg_restore
:nhost.toml
:
Select a point in time
Create a new project
Ensure database version is the same
Restore backup