How to Migrate from PostgreSQL to Amazon Redshift
Skippr is the easiest way to migrate from PostgreSQL to Redshift and get fully cleansed and modeled data in one run command.
Source: PostgreSQL. Destination: Redshift.
Sample config
yaml
skippr:
workspace: postgres_to_redshift
pipelines:
postgres_to_redshift:
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:
Redshift:
database: analytics
cluster_identifier: my-cluster
db_user: admin
schema: public
region: us-east-1Environment
bash
export AWS_ACCESS_KEY_ID="your-key"
export AWS_SECRET_ACCESS_KEY="your-secret"
export REDSHIFT_CLUSTER_IDENTIFIER="my-cluster"
export REDSHIFT_DB_USER="admin"
export REDSHIFT_DATABASE="analytics"Source connector: postgres. Destination connector: redshift-warehouse.
See Quick start.
