Convert SQL Server BAK to Postgres

with our secure online converter

Drag and drop your BAK file here or click to upload.

Convert

Uploading and converting your files...

Do you want to keep track of your uploaded files?
Register and see your files in the RebaseData panel!

Input file

Our API uses a .BAK file as input. This file is a Microsoft SQL Server database backup file.

Max file size for web uploads: 50 GB

Output file

The API will return a ZIP archive that contains a .SQL file. This .SQL is a PostgreSQL dump file and can be restored into your PostgreSQL installation.

How long does it take?

The conversion process takes between 15 seconds and multiple minutes. It depends on the size of the database.

ISO-27001

Already 2,000+ satisfied customers with over 700,000+ databases successfully converted.

Supported versions

  • SQL Server 2019
  • SQL Server 2017
  • SQL Server 2016
  • SQL Server 2014
  • SQL Server 2012
  • SQL Server 2008 R2
  • SQL Server 2008
  • SQL Server 2005
  • SQL Server 2000

Conversion methods

Download the RebaseData client Java tool . To convert your database using RebaseData, run the following command:

java -jar client-0.0.5.jar convert --output-format=postgresql database.bak output-dir/

Replace database.bak with the path to the database you want to convert.
The file output.zip will contain a PostgreSQL data.sql file with your data or the error message if something went wrong.

curl -F 'files[]=@database.bak' 'https://www.rebasedata.com/api/v1/convert?outputFormat=postgresql&errorResponse=zip' -o output.zip
Options
  • You can add omitSchemeName=1 to the URL to omit the scheme name in the POSTGRESQL filenames.
  • You can add password=value to specify the backup's password. This is only needed if the backup was created with a password. Only relevant for backups created by versions prior to SQL Server 2012.
  • You can add mediapassword=value to specify the backup's media password. This is only needed if the backup was created with a media password. Only relevant for backups created by versions prior to SQL Server 2012.

You can also use your favourite tool

Why use RebaseData?

  • Strong security.
  • Convert online without installing MS SQL Server.
  • Works with Windows, Mac and Linux.
  • Use an API to convert your databases.
  • Professional support.

Terms

  • We don't guarantee for the success or correctness of the conversion
  • You are only allowed to convert your own database files
  • By using RebaseData, you agree to our general terms