I'm performing my first steps with MongoDB but still lost. I have read the docs [here][1] but I'm not able to find the the right steps in order to import|restore the DB. I have a .tgz file and I have uncompressed it. The output of `ll` command is as follow:
# ll rs-ds035698_2015-09-21T050031.000Z
total 208
drwxr-xr-x 2 1001 1001 4096 Sep 21 01:00 admin
-rw-r--r-- 1 1001 1001 1037 Sep 21 01:01 oplog.bson
drwxr-xr-x 2 1001 1001 20480 Sep 21 01:01 pdone
drwxr-xr-x 2 1001 1001 20480 Sep 21 01:01 pdone_demo
drwxr-xr-x 2 1001 1001 4096 Sep 21 01:00 pdone_demo_master
drwxr-xr-x 2 1001 1001 4096 Sep 21 01:01 pdone_master
-rw-r--r-- 1 1001 1001 150589 Sep 21 01:01 rs-ds035698_2015-09-21T050031.000Z.log
I need to restore just pdone collection (I don't know if will be good say DB here). I've tried this:
$mongorestore --db rs-ds035698_2015-09-21T050031.000Z/pdone
connected to: 127.0.0.1
don't know what to do with file [dump]
But got that error, what I'm doing wrong? Which is the right way to achieve this?