Neon data import guides
Learn how to import data from different sources or load sample data
Find instructions for importing data from Postgres, CSV, other Neon projects, and other Postgres providers. For near-zero downtime data migrations from other Postgres providers, consider using logical replication. Additionally, if you're new to Neon and want to try it out, our sample data guide provides datasets for exploration and testing.
Data import guides
Import with pg_dump and pg_restore
Import data from another Postgres database using pg_dump and pg_restore
Import with @neondatabase/pg-import
Easily import data from another Postgres database with the @neondatabase/pg-import CLI
Import from a Neon project
Import data from another Neon project for Postgres version upgrades or region migration
Import schema only
Import only the schema from a Postgres database with pg_dump and pg_restore
Import data from CSV
Import data from a CSV file using the psql command-line utility
Import from Heroku
Import data from a Heroku Postgres database to a Neon Postgres database
Migrate with AWS DMS
Migrate data from another database source to Neon using the AWS Data Migration Service
Load sample data
Load one of several sample datasets for exploration and testing
Migrate from MySQL
Learn how to migrate your MySQL database to Neon Postgres using pgloader.
Use logical replication for near-zero downtime data migrations
Postgres logical replication in Neon provides an efficient way to migrate data from other Postgres providers with minimal downtime. By replicating data in real-time, this method allows you to transition your applications to Neon without interrupting your services. Please refer to our logical replication guides for instructions.