title: Mongorestore not importing data
body: <p>I am trying to restore a mongo db dump. Running mongorestore on a PC works fine. But when i run it on a linux server (64bit MongoDB), no error is thrown, but the data is not imported. 
  Given below is the message on the terminal : </p>
  
  <pre><code>#mongorestore --drop dump
  connected to: 127.0.0.1
  Sun Nov  4 11:56:13 dump/m101/hw1.bson
  Sun Nov  4 11:56:13     going into namespace [m101.hw1]
  Sun Nov  4 11:56:13      dropping
  1 objects found
  Sun Nov  4 11:56:13     Creating index: { key: { _id: 1 }, ns: "m101.hw1", name: "_id_" }
  Sun Nov  4 11:56:13 dump/m101/funnynumbers.bson
  Sun Nov  4 11:56:13     going into namespace [m101.funnynumbers]
  Sun Nov  4 11:56:13      dropping
  100 objects found
  Sun Nov  4 11:56:13     Creating index: { key: { _id: 1 }, ns: "m101.funnynumbers", name: "_id_" }
  </code></pre>
  
  <p>Edit: </p>
  
  <p>This was a non-issue. The problem was not with the insertion, but with my querying. I was trying to do db.m101.funnynumbers.count(). The correct way of doing it is db.funnynumbers.count(). </p>