Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Nov 23, 2019

Have a page that describes different commands necessary to mongodump a local database and transfer that to atlas. Describe only that

Have a page that describes different commands necessary to mongodump a local database and transfer that to atlas. Don't include descriptions of all the options for whatever commands are necessary to do that, only write what is precisely necessary to do that. Include an example like the following: Database name: testDatabase Host address: testAddress Username: testName Password: testPass mongodump --db=testDatabase mongorestore --host testAddress --username testName --password testPass --authenticationDatabase admin --db testDatabase ./testDatabase END OF EXAMPLE I don't know what commands actually work to create a file that can be uploaded to an Atlas cluster because the documentation doesn't have a page that clearly lays that out. That is all that I need to do at the moment, it's really straight forward stuff. I'm not going to need any functionality beyond that.
  • Attach files
  • Guest
    Nov 25, 2019
    Hi Michael, Thanks for posting--I want to make sure that you've seen this: https://docs.atlas.mongodb.com/import/mongorestore/ This tutorial shows how you can actually pipe directly from mongodump to mongorestore without needing to save the file from the former before using it with the latter. Cheers -Andrew