How to import dump folder into mongodb database?
mongodump
is a util for creating a binary export of the database. mongodump
is used in conjunction with mongorestore
as a backup strategy.
If you wanted to restore your mongodump
then you would need to use mongorestore
Or,
You could take an export with mongoexport and then use mongoimport
Try with this:
mongorestore -d db_name dump_folder_path