Skip to content

How to Migrate from PostgreSQL to MotherDuck

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

Source: PostgreSQL. Destination: MotherDuck.

Sample config

yaml
skippr:
  workspace: postgres_to_motherduck
pipelines:
  postgres_to_motherduck:
    data_source: data_sources.source
    data_sink: data_sinks.warehouse
data_sources:
  source:
    Postgres:
      host: localhost
      port: 5432
      user: myuser
      password: mypass
      database: mydb
data_sinks:
  warehouse:
    Motherduck:
      motherduck_token: "${MOTHERDUCK_TOKEN}"
      database: my_database
      schema: main

Environment

bash
export MOTHERDUCK_TOKEN="eyJ..."

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

See Quick start.