Skip to content

How to Migrate from MotherDuck to PostgreSQL

Skippr is the easiest way to migrate from MotherDuck to PostgreSQL and get fully cleansed and modeled data in one run command.

Source: MotherDuck. Destination: PostgreSQL.

Sample config

yaml
skippr:
  workspace: motherduck_to_postgres
pipelines:
  motherduck_to_postgres:
    data_source: data_sources.source
    data_sink: data_sinks.warehouse
data_sources:
  source:
    Motherduck:
      motherduck_token: "${MOTHERDUCK_TOKEN}"
      database: my_db
data_sinks:
  warehouse:
    Postgres:
      host: localhost
      port: 5432
      user: ${POSTGRES_USER}
      password: ${POSTGRES_PASSWORD}
      database: analytics
      schema: public

Environment

bash
export POSTGRES_HOST="localhost"
export POSTGRES_USER="myuser"
export POSTGRES_PASSWORD="mypassword"
export MOTHERDUCK_TOKEN="eyJ..."

Source connector: motherduck-source. Destination connector: postgres-warehouse.

See Quick start.