Recovering Mongodb collections and documents data

59 Views Asked by At

good day to you all.

I am currently having a hard time restoring the MongoDB database. Here is what happened.

Thanks for looking into this matter Basically, my server and MongoDB 3.2 server running on DigitalOcean. I made some changes on mongod.conf file to allow remote access from my local machine. Since then, it no longer worked. I got Mongodb connection failed issue so reinstalled new Mongodb version 4.4 and it doesn't want to load existing data which is located in var/lib/MongoDB. So I downloaded the whole data files as posted above on my local machine.

Now, at least I want to open the current database on my local machine but I couldn't find any proper way to achieve this. Thanks again for looking into this issue.

enter image description here

0

There are 0 best solutions below