Docs Menu
Docs Home
/ /

Install the MongoDB Database Tools

Download from the MongoDB Download Center. To install with a package manager, select your operating system and package management method in the following steps.

The Database Tools include the following binaries:

Binary Import / Export

    mongodump

Creates a binary export of the contents of a mongod database.

Restores data from a mongodump database dump into a mongod or mongos.

    bsondump

Converts BSON dump files into JSON.

Data Import / Export

Imports content from an Extended JSON, CSV, or TSV export file.

Produces a JSON or CSV export of data stored in a mongod instance.

Diagnostic Tools

    mongostat

Provides a quick overview of the status of a currently running mongod or mongos instance.

    mongotop

Provides an overview of the time a mongod instance spends reading and writing data.

GridFS Tools

Supports manipulating files stored in your MongoDB instance in GridFS objects.

After you install the Database Tools, use the following tools to work with your MongoDB data:

  • To back up a database, see mongodump.

  • To restore data from a backup, see mongorestore.

  • To import data into a collection, see mongoimport.

  • To export data from a collection, see mongoexport.

Back

Overview

On this page