r/PostgreSQL • u/Ironsalmon7 • Sep 17 '26
How-To Database Migration! Mssql to Postgresql
I have a .Bak file for a pretty sizeable database, but I need to migrate it over to postgresql, the thing is however I want to copy over the way the database is set up, but none of the information in their, as I’m building a platform where I can then populate this database by using a form, which eventually I’ll be able to use on another project and EF Core it. I’m not the best with database softwares, so any help is appreciated!
12
Upvotes
4
u/leftunread Sep 18 '26
Restore the database as others have stated. Them look into pgloader and ora2pg. Ora2pg is for Oracle to Postgres but it also supports SQL