Skip to content

How to Migrate from ClickHouse to MotherDuck

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

Source: ClickHouse. Destination: MotherDuck.

Sample config

yaml
skippr:
  workspace: clickhouse_to_motherduck
pipelines:
  clickhouse_to_motherduck:
    data_source: data_sources.source
    data_sink: data_sinks.warehouse
data_sources:
  source:
    Clickhouse:
      url: "http://localhost:8123"
      database: default
      user: default
data_sinks:
  warehouse:
    Motherduck:
      motherduck_token: "${MOTHERDUCK_TOKEN}"
      database: my_database
      schema: main

Environment

bash
export MOTHERDUCK_TOKEN="eyJ..."

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

See Quick start.