import mongodb dump whole database code example
Example: import dump mongodb
mongorestore -d db_name /path/
mongorestore -d db_name -c collection_name /path/file.bson
mongorestore -d db_name /path/
mongorestore -d db_name -c collection_name /path/file.bson