MongoDB Database Tools
The MongoDB Database Tools are a collection of command-line utilities for working with a MongoDB deployment. Some of the common database tools are as follows:
mongoimport
: Imports content from an extended JSON, CSV, or TSV export filemongoexport
: Produces a JSON or CSV export of data stored in amongod
instancemongodump
: Creates a binary export of the contents of amongod
database
There are some other tools, such as mongorestore
, bsondump
, mongostat
, mongotop
, and mongofiles
. The MongoDB Database Tools can be installed with an MSI installer (or downloaded as a ZIP archive).
Note
The msi
package can be downloaded from the MongoDB Download Center (https://www.mongodb.com/try/download/database-tools).
After downloading, you can follow the installation instructions provided in the MongoDB documentation (https://www.mongodb.com/docs/database-tools/installation/installation-windows/).
The next section provides a walk-through of...