Looking for better instructions on loading bson files into mongo
51 views
Skip to first unread message
Mel
unread,
Jun 18, 2012, 5:33:54 PM6/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
I recently installed mongo because I'm looking at analyzing some data that is stored in several .bson files. I've gone through the tutorials as much as I can, but I don't really understand how to do this and am unsure whether to use mongoimport, dump or restore or some combination. Can anyone give me more detailed instructions? Thank you!
Sid
unread,
Jun 18, 2012, 6:07:05 PM6/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
mongimport/mongoexport work on JSON/CSV. mongodump/mongorestore work
on bson files.
Assuming that the bson files were created using mongodump, you can
restore it using the mongrestore utility.