top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

mongodb: Tool for import/export of all DBs, collections, and indexes but NOT the data.

+3 votes
437 views

I need a tool for rapidly recreating the proper "schema" (such as it is) of MongoDB instances between environments that pre-creates the right DB names, collections, sets collection caps, and creates the indexes for each collection. I do NOT want to copy all of the data between the instances, though. Each env I manage has different data but the DB/collection/caps/indexes are all the same. Is there an easy way to do this, preferably a tool that exports a JSON doc of all the names, caps and indexes that can then be re-ported into a new instance?

Thanks in advance

posted Jun 29, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Why don't you try http://rockmongo.com an UI which will help you better while working on mongodb... it makes easy all your operations like import export with data or without,working on collections n dbs.

answer Jan 27, 2016 by Shivam Kumar Pandey
Similar Questions
+2 votes

There is some question regarding export import please help me.
1. how to export and import mongo db 32 bit to 64 bit?
2. after importing is anything goes wrong with files,images?
3. according 64 structure it will accept 32 bit data or not?

+1 vote

I generated some GridFs data on local MongoDB but I want to export these files only to production MongoDB.
I just have uploadtime field to query these files. Is there some option in Export to JSON by mongoexport both files and chunks after time stamp.

0 votes

I am trying to install MongoDB on Windows 7 Enterprise (32bit) VM running in VirtualBox on Windows7 Ultimate 64bit.
The MongoD.exe start up reports a missing Microsoft Hotfix, KB2731284. I downloaded and installed the hot fix on the VM. The hotfix was not required on the Host PC.

Mongod.exe still reported it was not installed. Ran the hotfix a second time and it reported that it was already installed.

I tried uninstalling an reinstalling mongoDB, no luck. Any clues?

...