0

I just started using mongodb so my question might be a little basic. I have a folder with the collections I want to restore(this was a zip file I downloaded from my email). How do I use mongorestore to restore this db into my local db?

1 Answer 1

0

How about reading then manual. Simples form of that command is mongorestore directory/ where mongod is running localhost at port 27017 and that 'directory' have those dump files.

1
  • Thank you, I was able to resolve it.
    – codergal
    Jun 10, 2020 at 2:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.