Import a data base file.json into robo3T (robomongo)

user2981029 picture user2981029 · Apr 11, 2014 · Viewed 53.7k times · Source

I have a file named services.json containing a data base that I exported from a windows mongodb, and I want to import that file into robomongo (connected to mongodb installed by npm) on Ubuntu.

I'm a beginner and I don't know how to proceed, which terminal use (robomongo or Ubuntu)?

Answer

Varun Sukheja picture Varun Sukheja · Jan 17, 2017

to import data for a collection in Robomongo:

  1. Right click on collection.
  2. Select 'insert Document'.
    enter image description here
  3. Paste your json data
  4. Click validate.
  5. Click save.