title: Mongorestore of a db causing me trouble
body: <p>I'm new to MongoDB and I have hard time to backup my local DB and restore it on my server. I found the link on Mongo's website : <a href="http://www.mongodb.org/display/DOCS/Import+Export+Tools" rel="noreferrer">http://www.mongodb.org/display/DOCS/Import+Export+Tools</a> but I still have problems with the restore.</p>
  
  <p>When I do my backup I call </p>
  
  <pre><code>mongodump --db Gen
  </code></pre>
  
  <p>Then I see that all the collections are dump in <code>/bin/dump/Gen</code> folder</p>
  
  <p>I copy-paste from local to the server in the same folder the call</p>
  
  <pre><code>mongorestore --db Gen --drop --dbpath dump/Gen
  </code></pre>
  
  <p>But I get the following :
  <code>Error : root directory must be a dump of a single database when specifying a db name with --db</code></p>