title: Mongodump not working on AWS EC2 instance
body: <p>I tried  Mongodump on AWS EC2 instance. There is no error,  but the files are not dumped.</p>
  
  <pre><code>[ec2-user ~]$ sudo mongodump --host localhost:27017 --db test--out /var/backups/
  
  connected to: localhost:27017
  2017-01-19T01:56:05.608+0000 DATABASE: test  to     /var/backups/test
  </code></pre>
  
  <p>How to take a dump inside AWS EC2? The database is in <code>data/db</code> folder.</p>