mongo import code example Example: mongodb import mongodump -h <127.0.0.1>:<27017> -d <db> -u <user> -p <pw> -o ./ mongorestore ./