The MongoDB Database Tools Documentation
The MongoDB Database Tools are a collection of command-line utilities for working with a MongoDB deployment. The Database Tools include the following binaries:
Binary Import / Export | |
Creates a binary export of the contents of a
mongod database. | |
Data Import / Export | |
Imports content from an
Extended JSON,
CSV, or TSV export file. | |
Diagnostic Tools | |
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. |
You can use the MongoDB Database Tools to migrate from a self-hosted deployment to MongoDB Atlas. MongoDB Atlas is the fully managed service for MongoDB deployments in the cloud. To learn more, see Seed with mongorestore.
To learn all the ways you can migrate to MongoDB Atlas, see Migrate or Import Data.
Versioning
Important
It is recommended you always use the latest release version of the MongoDB Database Tools. To check your current version of the MongoDB Database Tools, run the following command on your terminal:
mongodump --version
To download the latest version, go to the MongoDB Download Center.
Starting with MongoDB 4.4, the MongoDB Database Tools are now released separately
from the MongoDB Server and use their own versioning, with an initial
version of 100.0.0
. Previously, these tools were released
alongside the MongoDB Server and used matching versioning.
For documentation on the MongoDB 4.2 or earlier versions of these tools, reference the MongoDB Server Documentation for that version of the tool:
Installation
The MongoDB Database Tools can be downloaded from the MongoDB Download Center.
Please see the installation guide for your platform for specific installation instructions.
Additional Resources
Issues
For instructions on how to file a JIRA ticket for the MongoDB server or one of the related projects, see https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.
Community
Getting involved in the MongoDB community is a great way to build relationships with other talented and like minded engineers, increase awareness for the interesting work that you are doing, and sharpen your skills. To learn about the MongoDB community, see Get Involved with MongoDB.
Licensing
The MongoDB Database Tools documentation is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.
For information on MongoDB licensing, see MongoDB Licensing.
Further Reading
- MongoDB, Inc.
- The company behind MongoDB.
- MongoDB Manual
- The MongoDB server documentation.
- MongoDB Atlas
- Database as a service.
- MongoDB Ecosystem
- The documentation available for the drivers, frameworks, and services for use with MongoDB.