MongoDB Database Administrator Tools
Learn how to use a suite of command-line tools to administer and manage your MongoDB deployments. These tools fall into four categories: backup and restore, data import and export, diagnostics, and GridFS tools.
MongoDB Database Administrator Tools
Unit Overview
In this unit, you will install a set of command-line tools on an Ubuntu Linux container that will help you with several tasks associated with administering and managing a MongoDB deployment. These common tasks for DBAs include:
- Backup and recovery of simple, non-sharded deployments with
mongodump
andmongorestore
- Data migration with
mongoexport
andmongoimport
- Deployment monitoring with
mongostat
,mongotop
, andbsondump
- File storage in a MongoDB database with
mongofiles
Prerequisites
Lessons in This Unit
- Lesson 1 – Get Started with DBA Tools
- Lesson 2 – Backup Tools
- Lesson 3 – Restore Tools
- Lesson 4 – Data Export Tools
- Lesson 5 – Data Import Tools
- Lesson 6 – Diagnostic Tools: mongostat
- Lesson 7 – Diagnostic Tools: mongotop
- Lesson 8 – Diagnostic Tools: bsondump
- Lesson 9 – MongoDB as a Filesystem
-
01.
-
02.Lesson 2: Backup Tools
- Learn
- Practice
-
03.Lesson 3: Restore Tools
- Learn
- Practice
-
04.Lesson 4: Data Export Tools
- Learn
- Practice
-
05.Lesson 5: Data Import Tools
- Learn
- Practice
-
06.Lesson 6: Diagnostic Tools: mongostat
- Learn
- Practice
-
07.Lesson 7: Diagnostic Tools: mongotop
- Learn
- Practice
-
08.Lesson 8: Diagnostic Tools: bsondump
- Learn
- Practice
-
09.Lesson 9: MongoDB as a Filesystem
- Learn
- Practice
-
10.Conclusion
- Learn

Sarah Evans | Senior Curriculum Engineer
Sarah is a Senior Curriculum Engineer on the Curriculum team at MongoDB. Prior to MongoDB, she taught and developed curricula for developer bootcamps. Sarah has a MAT degree from Columbia University Teachers College and studied Software Engineering at Flatiron School in Chicago, IL.

Vick Mena | Director, Curriculum
My name is Vick and I've been in the wild for over 25 years. I grew up at IBM working on the BIOS for the IBM eServer line in Austin, TX before moving to Wall St. I've worked on all phases of software development from low-level to middleware to UI but feel most comfortable in the middle. I also drank the devops kool-aid having moved a product line to AWS while at Dow Jones & Co with the help of an amazing team. I then pivoted into the secure space and worked on software/hardware reverse engineering. I always thought I'd eventually teach and this role lets me leverage all of my experience to lead this motley crew of passionate educators.