Created
July 10, 2013 15:59
-
-
Save wallace/5967521 to your computer and use it in GitHub Desktop.
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
# rename the extracted dump files to be in your local database name | |
$ mv dump/exported_database_name/ dump/my_local_database_name | |
# restore using the appropriate port. assume that foreman is started and running | |
$ mongorestore dump --port 28018 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment