Report this

What is the reason for this report?

Restore Managed DB from Backup

Posted on October 9, 2024
Lyle

By Lyle

I’m new to managed databases. I can see how you can restore from a backup to a new cluster. Is there anyway to restore to a point in time for the existing cluster without need for a new cluster?



This textbox defaults to using Markdown to format your answer.

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

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.

Hey Lyle! 👋

Currently, with DigitalOcean’s Managed MongoDB Databases, when you restore from a backup, it’s designed to restore to a new cluster, and there isn’t a way to restore directly back to the existing cluster without creating a new one. This approach helps ensure that you don’t accidentally overwrite your current data with older backups and provides you with more flexibility to test the restore.

That said, you can follow these steps to restore from a backup to a new cluster:

  1. Go to the Databases page in your DigitalOcean dashboard.
  2. Select the MongoDB database you want to restore from.
  3. Click the Actions button and choose Restore from backup.
  4. In the window that opens, select the backup you’d like to restore from.
  5. Give the new cluster a name (by default, it’ll append the date of the backup).

Once the new cluster is up and running, you can decide whether you want to switch over to the new cluster or migrate specific data back to the original cluster.

Here’s the detailed guide for reference: How to Manually Restore MongoDB Database Clusters from Backups

Keep in mind that destroying a database cluster will also remove its backups, so make sure to download any crucial data before removing anything.

Let me know if you need further clarification! 😊

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.