r/SQL • • Mar 29 '26

PostgreSQL Daily SQL Server to PostGRE Synchronization

Looking for recommendations for performing once-daily replication (or synchronization) between an SQL Server (source) and Postgres (sink). The intent is to simply ensure that when a user performs a query or refresh for Postgres data, which is feeding a dashboard, the data is an accurate representation of the data in the SQL Server. This is all taking place on Windows Server 2022.

I found this reddit thread below on performing a similar activity using Debezium, but it is unclear to me if Kakfa is actually required (I'm currently not using Kafka). So my general question is, would Debezium still be the appropriate tool for completing this? Or is the once-daily requirement pointing towards a simpler solution such as a Python script that is run using Task scheduler?

https://www.reddit.com/r/PostgreSQL/comments/1hvff8t/mssql_to_postgre_replication/

https://github.com/debezium/debezium

2 Upvotes

22 comments sorted by

View all comments

Show parent comment

1

u/alinroc SQL Server DBA Mar 29 '26

As long as it's all on the same server.

If they're on different servers, you need a separate SQL Server license for each one. I don't know how licensing works if you're running the packages via dtexec from the command line and scheduled through Task Scheduler or some other non-SQL Server job scheduler though.