Import and Export Dump Files to MongoDB

You can import and export dump files to MongoDB in two ways:

Note: if you would like to use MongoDB client, you need to have Public IP feature enabled in your MongoDB node.

Using MongoDB client (for example, Database Master)

A. Dump import to MongoDB

  • After remote connection to MongoDB click on Import in the desktop client (we use Database Master 4 as an example) and select the type of file you want to import. dump import export to mongodb 1.jpg

  • Browse XML/Csv file, you want to import. Then browse a log file. dump import export to mongodb 2.jpg

  • Merge source tables to the target tables. dump import export to mongodb 3.jpg dump import export to mongodb Снимок11

  • Now you can go back to the Jelastic’s dashboard, open MongoDB in a web browser and find imported dumps in the test directory. dump import export to mongodb 5.jpg

B. Dump export from MongoDB

  • Click Export -> Data Export. dump import export to mongodb 6.jpg

  • Browse a target folder and select tables to export. dump import export to mongodb 7.jpg

  • Select data export options and click Finish. dump import export to mongodb Снимок15

  • Data export is successfully finished. You can check your target folder to ensure that everything is ok. dump import export to mongodb Снимок16

Using RockMongo

  • Click Open in browser button for MongoDB node in your enviroment: dump import export to mongodb 1

  • In the opened window you’ll be requested to log in with your credentials, which you’ve received within email after creating MongoDB node.

  • To export or import dump files use conforming buttons: dump import export to mongodb 2

Hope this instruction will be useful for you.

What’s next?