In this lab, you are tasked with backing up a standalone MongoDB instance. After completing this lab, you will have hands-on experience backing up a simple MongoDB instance.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Back Up All Databases
Back up all databases to compressed
BSON
files.- Archive the test Database
Back up the
test
database to a compressed archive file namedtest.archive.gz
.- Restore the test Database
Restore the
test
database to a new database namedrestore
.