Skip to content

Instantly share code, notes, and snippets.

@vanessasoutoc
Created June 19, 2018 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanessasoutoc/547d1d6a0529cdfcd589a2b7e5ce5a4e to your computer and use it in GitHub Desktop.
Save vanessasoutoc/547d1d6a0529cdfcd589a2b7e5ce5a4e to your computer and use it in GitHub Desktop.
Mongo Backup and Restaure
//create dump mongo
$ mongodump --host --port --db --username --password --out /path/dump/out
//restaure db mongo
$ mongorestore --host --port --db --username --password /path/dumps/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment