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
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
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.
Reply all
Reply to author
Forward
0 new messages