adding dumped mongodb database to server

May 30, 2018 997 views
MongoDB Ubuntu 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

Be the first one to answer this question.

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