Last active
January 2, 2016 00:49
-
-
Save serpent403/8225911 to your computer and use it in GitHub Desktop.
Handy MongoDB Commands
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
# mongo data export and import | |
mongoexport --host 10.xx.10.xx --db mydatabase --collection colln > colln.bson | |
mongoimport --host localhost --db mydatabase --collection colln colln.bson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment