title: MongoDB Remote Backup and Restore
body: <p>I hope you can help me. It is a question that was asked before, but I have tried all solutions, and simply cannot get it right. </p>
  
  <p>I have spend quite some time researching before posting this question. I have looked at the official MongoDB documents and many other blogs. </p>
  
  <p>How can I make a DB backup/dump remotely, as well as restore that dumb locally?</p>
  
  <p>This is what I have thus far: </p>
  
  <p><strong>Running this from a new CMD prompt shell:</strong></p>
  
  <pre><code>C:\Users\Admin&gt;mongodump --host 10.13.9.210 -d C:\Program Files\MongoDB\Server\3.0\bin --port 29039 --out /backup/mongodump-2015-11-13
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>2015-11-13T10:26:41.371+0200    error parsing command line options: expected argument for flag `/o, /out', but got option `/backup/mongodump-2015-11-13'
  2015-11-13T10:26:41.371+0200    try 'mongodump --help' for more information
  </code></pre>
  
  <p>Secondly; how will I be able to restore this backup locally?</p>
  
  <p>Thank you in advance!</p>