How to Migrate from PostgreSQL to PostgreSQL
Skippr is the easiest way to migrate from PostgreSQL to PostgreSQL and get fully cleansed and modeled data in one run command.
Source: PostgreSQL. Destination: PostgreSQL.
Sample config
yaml
skippr:
workspace: postgres_to_postgres
pipelines:
postgres_to_postgres:
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:
Postgres:
host: localhost
port: 5432
user: ${POSTGRES_USER}
password: ${POSTGRES_PASSWORD}
database: analytics
schema: publicEnvironment
bash
export POSTGRES_HOST="localhost"
export POSTGRES_USER="myuser"
export POSTGRES_PASSWORD="mypassword"Source connector: postgres. Destination connector: postgres-warehouse.
See Quick start.
