Created
September 20, 2013 18:18
-
-
Save thiagozs/6641593 to your computer and use it in GitHub Desktop.
MongoDB import and export
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
mongodb/bin/mongoexport -d produtos -c rt_produtos_v2 --host 127.0.0.1 --port 3000 -o /tmp/produtos_zilli.json | |
mongodb/bin/mongoimport -d produtos -c rt_produtos_v2 --host 127.0.0.1 --port 27017 --file produtos_zilli.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment