Skip to content

How to Migrate from PostgreSQL to Snowflake

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

Source: PostgreSQL. Destination: Snowflake.

Sample config

yaml
skippr:
  workspace: postgres_to_snowflake
pipelines:
  postgres_to_snowflake:
    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:
    Snowflake:
      database: ANALYTICS
      schema: RAW
      warehouse: COMPUTE_WH
      role: ACCOUNTADMIN

Environment

bash
export SNOWFLAKE_ACCOUNT="MYORG-MYACCOUNT"
export SNOWFLAKE_USER="myuser"
export SNOWFLAKE_PRIVATE_KEY_PATH="/path/to/snowflake_key.p8"

Source connector: postgres. Destination connector: snowflake.

See Quick start.