Skip to content

Instantly share code, notes, and snippets.

@ojacquemart
Last active December 17, 2015 19:09
Show Gist options
  • Select an option

  • Save ojacquemart/5658745 to your computer and use it in GitHub Desktop.

Select an option

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