Run Neon directly in Cursor: install the new plugin from the Marketplace
/Overview

Neon data migration guides

Learn how to migrate data to Neon Postgres from different database providers and sources

This guide helps you choose the best migration method based on your database size, downtime tolerance, source database type, and technical requirements.

Quick guidance

If you can't afford downtime, use Logical Replication. For Postgres databases under 10GB with some downtime flexibility, Import Data Assistant is the easiest option. For larger Postgres databases where downtime is acceptable, choose between pg_dump/restore (simplest) or pgcopydb (fastest).

Migration methods

MethodBest ForDatabase SizeDowntimeTechnical SkillKey Benefit
Import Data AssistantQuick Postgres migrationsUnder 10GBMinimal (minutes–hours)LowEasiest - fully automated
pg_dump/restoreStandard Postgres migrationsAny sizeRequiredMediumReliable and well-tested
pgcopydbLarge Postgres databases10GB+RequiredMediumParallel processing - fast
Logical ReplicationProduction Postgres workloadsAny sizeNear-zeroHighMinimal downtime
pgloaderNon-Postgres sourcesAny sizeRequiredMediumHandles MySQL, MSSQL, SQLite
AWS DMSMulti-source or custom transformationsAny sizeMinimal (minutes–hours)HighAdvanced transformation rules

Provider-specific guides

For step-by-step instructions tailored to specific databases or providers, see MySQL, MSSQL, SQLite, Heroku, Supabase, Render, Azure, Digital Ocean, Firebase, or another Neon project.

Logical replication guides

For near-zero downtime Postgres database migrations using logical replication, see guides for AWS RDS, Google Cloud SQL, AlloyDB, Azure, Supabase, PostgreSQL, or Neon to Neon.

Other imports

Need help?

Join our Discord Server to ask questions or see what others are doing with Neon. For paid plan support options, see Support.

Last updated on

Was this page helpful?