Wiki Page: Mongodb Backups & Exporting

  • Thread starter Thread starter David Berger
  • Start date Start date
Status
Not open for further replies.
D

David Berger

Guest
All databases are backed up automatically by Modulus every 12 hours. These backups are currently for disaster recovery and not available for download. You can produce your own backups at any time by running mongo's export and dump tools locally. DUMP AND RESTORE If you'd like to import a large amount of data into your database, please contact us for assistance. mongodump and mongorestore can run locally and connect to your mongo instances. MONGODUMP mongodump -h proximus.modulusmongo.net -u user -p pass --authenticationDatabase dbId --db dbId MONGORESTORE mongorestore -h proximus.modulusmongo.net -u user -p pass --authenticationDatabase dbId --db dbId path/to/dump In the above commands dbId is the unique id of your database. This can be found by inspecting your connection string. mongodb:// : @proximus.modulusmongo.net:27017/[dbId] WEB EXPORT You can also export data directly through the database dashboard by clicking on the Export tab. There is a 100MB size limit that can be exported using the web interface. To export more than 100MB, use the methods provided above. Once you select the collections you'd like to export and provide credentials for connecting to your database, a popup will appear with the export progress. When complete you'll be presented with a link that can be used to download your exported collections. The export format is identical to that produced by the mongoexport tool.

Continue reading...
 
Status
Not open for further replies.
Back
Top