title: Export Whole Mongodb Database with all collections
body: <p>How can I export my whole database using command?</p>
  
  <pre><code>I have tried to export collections from mongoDB compass and it's works.
  But I want to export whole DB using command.
  </code></pre>