title: mongodump/mongorestore from NodeJS or mongoose
body: <p>Wondering if it is possible to run mongodump/mongorestore from within nodejs.  Probably not really a mongoose thing as that is not really what mongoose is for.  But wondering if there is a way to execute these command from the mongodb nodejs driver.</p>
  
  <p>Looks like I can do this as a last resort:
  <a href="https://stackoverflow.com/questions/10210767/how-do-i-execute-the-mongodump-command-programmatically-from-node-js">How do I execute the mongodump command programmatically from node.js?</a></p>