...
use mongodump and mongorestore for small deployment. They create
and use BSON files to do dump and restore. We followed and succeeded.
On the machine where Tool Catalog is running, do:
mongodump --db tool_catalog
This created creates a directory named "dump/" in the current directory, and dumped dumps the
"tool_catalog" db database into it.
To restore, copy the "dump/" directory to the target machine. On it, first make sure that
mongod is running, then go . Go to "dump/"'s parent directory, then do:
mongorestore dump
And it will restore it into with the current running mongod database.
mongo
> show dbs
now shows the "tool_catalog" directory.