Our API uses .FRM, .MYD, .MYI files as input. These files are MySQL Server MyISAM files. Usually, a single table is comprised of all three of these files. You can upload files for multiple tables.
Max file size for web uploads: 50 GB
Register to upload big files via Amazon S3.
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.
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 myisam-files.. output-dir/
Let's imagine there's a table called products. You typically would have the files products.frm, products.myd and products.myi. The curl command would look like this.
curl -F email@example.com -F firstname.lastname@example.org -F email@example.com 'https://www.rebasedata.com/api/v1/convert?outputFormat=postgresql&errorResponse=zip' -o output.zip
It's also possible to convert multiple tables at once. Let's assume we also have an orders table. Check out the following command.
curl -F firstname.lastname@example.org -F email@example.com -F firstname.lastname@example.org -F email@example.com -F firstname.lastname@example.org -F email@example.com 'https://www.rebasedata.com/api/v1/convert?outputFormat=postgresql&errorResponse=zip' -o output.zipThe file output.zip will contain a PostgreSQL data.sql file with your data or the error message if something went wrong.
The conversion process takes between 15 seconds and multiple minutes. It depends on the size of the database.