In this lab, students are tasked with recovering a standalone MongoDB instance. After completing this lab, students will have hands-on experience using the `–repair` option to recover a MongoDB instance.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Review Logs
Check the failed process status and review the
mongod
process logs to determine the cause of the outtage.- Repair Data
Repair the data using the
--repair
option tomongod
.- Restart Service
Once the repair has completed, restart the service and connect using the
mongosh
shell.