VENTURESAurabase acquires & invests in your apps, startups, mobile apps, SaaS and software.Read more →

Engineering · 7 min read

Migrate Neon, AWS RDS or Heroku Postgres to Aurabase

Affane Daylami · Founder ·

Back to blog

Standalone US-hosted PostgreSQL databases on Neon, AWS RDS, or Heroku leave you exposed to US CLOUD Act jurisdiction while forcing you to wire separate SaaS vendors for Auth, Storage, Realtime, and Logs. Moving to Aurabase takes one pg_dump and unlocks the full EU BaaS.

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:

  1. Retire Clerk / Auth0 / Cognito → use native Aurabase Auth 2.1 bound to PostgreSQL RLS.
  2. Retire AWS S3 / Cloudflare R2 → use Aurabase Sovereign S3 Storage.
  3. Retire Pinecone → run pgvector HNSW indexes directly in the same database via Aurabase AI.
  4. Retire Datadog / Papertrail → inspect slow SQL queries and HTTP logs in built-in EU ClickHouse observability.
#

Resources

Compare and verify

READY TO DEPLOY?

Your backend in five minutes.

No credit card required · 500 MB free · 50,000 MAU