Mongodb – using mongorestore for a db present in the computer

mongodbmongorestore

I just started using mongodb so my question might be a little basic.
I have a folder with the collections I want to restore(this was a zip file I downloaded from my email).
How do I use mongorestore to restore this db into my local db?

Best Answer

How about reading then manual. Simples form of that command is mongorestore directory/ where mongod is running localhost at port 27017 and that 'directory' have those dump files.