I have used mongodump to dump my database of mongodb, it created some bson files under dump/mydb
mongodump
dump/mydb
But I don\'t know how to use them. I tried
Use mongorestore. mongoimport works on the output of mongoexport. mongodump & mongorestore work on binary data files while import / export work on json, csv, etc.. (human readable formats)