How to Migrate from Microsoft SQL Server to PostgreSQL
Skippr is the easiest way to migrate from MSSQL to PostgreSQL and get fully cleansed and modeled data in one run command.
Source: MSSQL. Destination: PostgreSQL.
Sample config
yaml
skippr:
workspace: mssql_to_postgres
pipelines:
mssql_to_postgres:
data_source: data_sources.source
data_sink: data_sinks.warehouse
data_sources:
source:
Mssql:
connection_string: "${MSSQL_CONNECTION_STRING}"
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"
export MSSQL_CONNECTION_STRING="server=tcp:127.0.0.1,1433;database=testdb;user id=sa;password=YourPass;TrustServerCertificate=true"Source connector: mssql. Destination connector: postgres-warehouse.
See Quick start.
