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

This screen shot shows my preexisting database backup.

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

.
You will find your databases.
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Bhuvanesh MohankumarPosted May 3, 2016, 11:47 AM
Good one...