I'm on version 3.2 windows
and my mongorestore
seems to have a bug:
If I specify /db:database_name
or /d database_name
I get the error:
don't know what to do with subdirectory "dump\database_name", skipping...
Instead if I let it run on the whole dump directory it seems to work. The command I used is:
mongorestore /host:remote_host dump
My current directory structure is:
.
..
dump
dump\database_name