Convert SQL Server MDF to MariaDB online

Add file

Input file

Our API uses a .MDF and .LDF file as input. The .MDF file is the Microsoft SQL Server database file that contains the data and the .LDF file is the log file. If you closed your database in a clean way, you only need the .MDF file. If you database was not properly closed, you need the .MDF and the related .LDF file (for example test.mdf and test_log.ldf).

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 MariaDB dump file and can be restored into your MariaDB installation.

Conversion methods

Using our Java tool

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=mariadb database.mdf output-dir/
                
Using CURL

Replace database.mdf with the path to the database you want to convert.
The file output.zip will contain a MariaDB file, one for each table in the given database file. If something went wrong, output.zip contains the error message.

curl -F 'files[]=@database.mdf' 'https://www.rebasedata.com/api/v1/convert?outputFormat=mariadb&errorResponse=zip' -o output.zip

Options

How long does it take?

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

Supported versions

You can also use your favourite tool

Why use RebaseData?

Terms