In this lesson, we’ll learn how to export and import a MongoDB database. MongoDB provides command-line tools mongodump and mongorestore to export and import a MongoDB database, respectively. These tools are installed by default with the MongoDB Database Tools package.

Get hands-on with 1200+ tech skills courses.