import mongodb database code example
Example 1: mongoid import database
mongorestore -d db_name dump_folder_path
Example 2: mongodb import
mongodump -h <127.0.0.1>:<27017> -d <db> -u <user> -p <pw> -o ./
mongorestore ./
mongorestore -d db_name dump_folder_path
mongodump -h <127.0.0.1>:<27017> -d <db> -u <user> -p <pw> -o ./
mongorestore ./