Best practice / approach for cloning one neon database into another?
Best practice / approach for cloning one neon database into another?
2 Replies
rare-sapphire•2mo ago
Are you looking to move data from one Neon project to another?
I find the easiest way to do that is using the Import Data Assistant:
https://neon.com/docs/import/import-data-assistant
The more traditional method is pg_dump and pg_restore:
https://neon.com/docs/import/migrate-from-postgres
Neon
Import Data Assistant - Neon Docs
When you're ready to move your data to Neon, our Import Data Assistant can help you automatically copy your existing database to Neon. You only need to provide a connection string to get started. You ...
Neon
Migrate data from Postgres with pg_dump and pg_restore - Neon Docs
This topic describes migrating data from one Postgres database to another using the pg_dump and pg_restore. Avoid using pg_dump over a pooled connection string (see PgBouncer issues 452 & 976 for deta...
sensitive-blueOP•2mo ago
thanks Dan. I landed on pg_dump and seem to work.