ingestr recipes/Load a specific sourceData Engineer

How do I replicate a Postgres database into Snowflake?

Give ingestr a Postgres source URI and a Snowflake destination URI and it copies the table across. Use the merge strategy on a key to keep Snowflake in sync without full reloads.

Command

ingestr ingest

Defined in

CLI

Works with

Postgres to Snowflake

What you get

Database replicationmerge strategyincremental key

How it works in code

$ ingestr ingest \
  --source-uri $POSTGRES_URI --source-table 'public.orders' \
  --dest-uri $SNOWFLAKE_URI --dest-table 'raw.orders' \
  --incremental-strategy merge --incremental-key updated_at

Run ingestr ingest and ingestr keeps the Snowflake table in sync with Postgres.

Move data with one command

Open source. Source URI in, destination URI out, incremental by default.

Sign up to our newsletter

Practical updates on open-source data pipelines, AI analysts, governance, and what we are shipping at Bruin.

The signup form is hosted by Brevo. Accept cookies to load it.