Question

adding dumped mongodb database to server

Posted May 30, 2018 1.4k views
MongoDBUbuntu 16.04

Hi,

I am trying to migrate my mongodb database to my server. I have reviewed all the mongorestore docs and cannot seem to figure this out. I have dumped the db on my local machine(mac) and have tried SCP transfer and mongorestore which both failed. If anyone has a good example of how to do this it would be much appreciated.

thanks,

jb

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!