title: Specifying dump directory in mongod.cfg file
body: <p>All,</p>
  
  <p>Is there a system wide setting to specify the dump folder in MongoDB? I went <a href="https://docs.mongodb.com/manual/reference/configuration-options/" rel="nofollow noreferrer"><strong>through this link</strong></a> and couldn't find any.</p>
  
  <p>Basically, I want <strong>C:\MongoDB\dump</strong> to be the folder where all backups are created. Currently, a dump folder is created in the folder mongodump is executed in or one has to specify a folder explicitly using --out parameter as a part of mongodump.</p>
  
  <p>Instead, wherever I may execute mongodump from, I want the dumps to be always created in <strong>C:\MongoDB\dump</strong></p>
  
  <p>Thanks,
  rgn</p>