Skip to content

Instantly share code, notes, and snippets.

@ojacquemart
Last active December 17, 2015 19:09
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 ojacquemart/5658745 to your computer and use it in GitHub Desktop.
Save ojacquemart/5658745 to your computer and use it in GitHub Desktop.
Mongorestore
mongorestore --db dbname path
To delete existing database:
use dbname
db.dropDatabase()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment