Backup and Restore
mongodump and mongorestore copy data.
Example
mongodump --db shop --out ./backup
mongorestore --db shop ./backup/shopExercise
Dump.
--db shopQuiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.