Sql-server – How to restore a microsoft sql server database backup to postgres

backupdumppostgresqlrestoresql server

I need to take a Microsoft SQL Server database backup (dump) file and import/restore into a PostgreSQL database. Does anybody have some sort of transform script (maybe a perl/sed/awk script) that could be run on the MSSQL Server backup file, so that it could be restored to the PostgreSQL database? Let's assume the tables have already been created in postgres, but they are all empty.

Best Answer

I would start with this article from the Postgresql site