Quick answer: Migrating from Neon, AWS RDS, or Heroku Postgres to Aurabase PostgreSQL 18 requires zero ORM rewrite: export with pg_dump --format=custom, restore with pg_restore --no-owner, swap your DATABASE_URL to your European Aurabase PgBouncer endpoint, and progressively retire external US Auth, S3, and log SaaS tools.
Dump & Restore
Minimal-downtime PostgreSQL migration commands
# 1. Create a compressed consistent snapshot from Neon / RDS / Heroku
pg_dump \
--format=custom \
--no-owner \
--no-acl \
"$SOURCE_DATABASE_URL" \
-f production_backup.dump
# 2. Restore into your dedicated EU Aurabase PostgreSQL 18 database
pg_restore \
--no-owner \
--no-acl \
--clean \
--if-exists \
-d "$AURABASE_DIRECT_DATABASE_URL" \
production_backup.dump
# 3. Verify row counts and refresh planner statistics
psql "$AURABASE_DIRECT_DATABASE_URL" -c "ANALYZE;"Consolidate Your Stack
What you can retire right after moving PostgreSQL
Once your schema lives on Aurabase PostgreSQL 18 in Paris or Germany, you can eliminate three to five separate US SaaS invoices:
- Retire Clerk / Auth0 / Cognito → use native Aurabase Auth 2.1 bound to PostgreSQL RLS.
- Retire AWS S3 / Cloudflare R2 → use Aurabase Sovereign S3 Storage.
- Retire Pinecone → run
pgvectorHNSW indexes directly in the same database via Aurabase AI. - Retire Datadog / Papertrail → inspect slow SQL queries and HTTP logs in built-in EU ClickHouse observability.
Resources
Compare and verify
- Detailed comparison: Aurabase vs Neon (2026–2027)
- Check Neon & AWS legal scores: Neon Dossier · AWS Dossier
- Connect Cursor or Claude Code to your migrated database: PostgreSQL MCP Server