Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save runemadsen/859056 to your computer and use it in GitHub Desktop.
Save runemadsen/859056 to your computer and use it in GitHub Desktop.
This shows how to import the data from a dump folder produced by mongodump
# Make sure MongoDB is installed and working
# Start the mongodb server in terminal
sudo mongod
# In another terminal window, run mongorestore command (second option pointing to dump folder on your HD)
mongorestore -d version_05 Documents/dump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment