Friday, May 6, 2016

clone Mongodb database to local from a server

The reason is to work on local copy of database when I am in airplane or off network.

Download MongChef, connect to server and local Mongodb (for sure you install local Mongodb first)

1. add database to local
2. select source, right click, then copy collections
3. right click local database then past collections

No comments:

Post a Comment