Created
March 7, 2011 19:35
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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