title: mongodb restore multiple collections with one command
body: <p><strong>How do I restore multiple collections at once in mongodb.</strong> </p>
  
  <p>I have tried</p>
  
  <pre><code>mongorestore -c Role -c UserAccount -c Permission -d movie-app dump/ 
  </code></pre>
  
  <p>and I got an error <code>file dump is a directory, not a bson file</code></p>
  
  <p>I can restore single collection at a time I have to  specify the bson file like </p>
  
  <pre><code>  mongorestore -c UserAccount -d movie-app dump/movie-app/UserAccount.bson 
  </code></pre>
  
  <p>I need to know how do I <strong><em>restore multiple collection with one command.</em></strong></p>