How to Restore MongoDB Databases

Step 1: Open command Prompt and Start daemon process by using mongod command

Step 2: Run another command prompt and type mongrestore “Type your directory where the backup resides” . Check below screenshot

process

This screen shot shows my preexisting database backup.

Select folder

Now check is database restored . Run mongo command and show dbs command

Show dbs
.
You will find your databases.

Ebook Download
View all
Learn
View all