Ruk-Com PaaS Documentation

Build, deploy and operate applications on the platform.

RUK-COM PAAS / DATABASES

Import and Export Dump Files to MongoDB

This guide is maintained for Ruk-Com PaaS. Screens and options may vary by platform version and account permissions.

Confirm the environment, region and account permissions, and back up current settings before changing a production system.

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.

MongoDB Client (Database Master)

Dump Import to MongoDB

  1. 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.

Image 43: Database Master file import 2. Browse XML/Csv file, you want to import. Then browse a log file.

Image 44: browse XML and log file 3. Merge source tables to the target tables.

Image 45: merge source and target tablesImage 46: XML import success 4. Now you can go back to the platform’s dashboard, open MongoDB in a web browser and find imported dumps in the test directory.

Image 47: check imported dump

Dump Export from MongoDB

  1. Click Export > Data Export.

Image 49: Database Master data export 2. Browse a target folder and select tables to export.

Image 50: select tables for export 3. Select data export options and click Finish.

Image 51: data export options 4. Data export is successfully finished. You can check your target folder to ensure that everything is ok.

Image 52: data export success

RockMongo Admin Panel

  1. Click Open in Browser button for MongoDB node in your enviroment:

Image 54: open MongoDB in browser 2. In the opened window you’ll be requested to log in with your credentials, which you’ve received within email after creating MongoDB node.

  1. To Export or Import dump files use the corresponding buttons:

Image 55: RockMongo import export Hope this instruction will be useful for you.