Created
October 20, 2014 20:26
-
-
Save amichaelgrant/a915de29c4765e8d407a to your computer and use it in GitHub Desktop.
importing data from rockmongo to mongodb
This file contains hidden or 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
Use mongodump and mongorestore instead: | |
mongodump: | |
---------- | |
mongodump --host <ip> --db <database> --out /var/lib/openshift/uuid/app-root/data --username <your-user-name> --password <your-password> | |
mongorestore: | |
------------- | |
mongorestore --db <database> <file-from-mongo-dump.bson> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What if the data was exported from RockMongo's export interface ? That command doesn't seem to work.