I want to replicate mongodb from staging environment to my local development environment, but it seems, that mongorestore only takes a single collection as it's input source. Are there any simple way to do replication of multiple collections without some bash voodoo?
It seems there is no need for complicated script. You can just do:
mongorestore <dbname> --drop
in /dump
directory to automatically restore all collections