adding dumped mongodb database to server

May 30, 2018 756 views
MongoDB Ubuntu 16.04


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.



Be the first one to answer this question.