How to Import mongodb database from development Environment to local env by using Commmand?
The mongoimport tool is only intended for importing simple data in text formats (JSON, CSV, TSV).

To backup and restore a full database (including index definitions &amp; collection options) typical approaches are to use either:


Filesystem snapshots
mongodump / mongorestore


The MongoDB manual has a section on Backup and Recovery describing supported approaches for different types of deployments (standalone, replica set, sharded cluster).