Question

Mongodb on digital ocean

Posted September 19, 2018 1.3k views
MongoDB DigitalOcean Monitoring Ubuntu 18.04 Automated Setups

I would like to have MongoDB set up on the droplet. MongoDB stores data to the hard disk. My question is
does digital ocean provide a snapshot of the hard disk if somehow droplet is crashed?

Typically it can be files or images, we create on a hard disk which we have uploaded or stored. Do I need to manually back up all those stuff?

If for some reason VPS is crashed, does digital ocean provide a new VPS with the hard disk and applications I have for old one? Or Do I need to reinstall everything again from scratch?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hey friend!

Great question. You can enable weekly backups on your droplet, as well as take snapshots at any time you desire. It is important to note that without backups or snapshots, your data exists on one RAID array and we do not back it up additionally without your clear consent (which is made in the form of enabling backups or taking a snapshot).

You can use a backup or snapshot to completely re-deploy the disk as it was at that time.

Jarland

  • your data exists on one RAID array and we do not back it up. So if RAID array is destroyed, Do I have no means of restoring it? Finally weekly backups or saved images are the only way to restore?

    • Thanks for reaching back out, apologies for the delayed response.

      That is correct, if a RAID array were to fail there would be no means of restoring the data without backups enabled or snapshots that you initiated. At least, not on our platform. It would be good practice for you to additionally back up your data elsewhere, giving you another restore point. How you would restore that data would be relative to how you backed it up and a plan that you devised which is best for you and your needs.

Submit an Answer