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 Completed
Categories Atlas
Created by Guest
Created on Jun 9, 2020

option to create a final snapshot before deleting a cluster

Today when an Atlas cluster is deleted, all backups/snapshots of this cluster are deleted along with it. This is especially an issue when working with automation tools like terraform, where a cluster can be deleted by accident easily. In AWS Aurora Postgres, for example, there is an option to create a "final snapshot" before deleting the cluster. If this option is enabled for a cluster, whenever a user triggers the deletion of the cluster (either manually, via API, or any other method), a final snapshot will be created, before the cluster is deleted. This final snapshot is then available independently of the deleted cluster, so in case of accidental deletion, we can create a new cluster based on this snapshot. This would be a huge security and safety improvement.
  • ADMIN RESPONSE
    Aug 1, 2025
    Hello All, I am pleased to announce that in Atlas you now have an option to retain all backups when terminating an M10+ cluster. When you terminated a cluster through the Atlas Ui, on the termination confirmation pop up, you will now see an additional toggle labeled " *Keep existing snapshots after termination* ". If you select this option when terminating your cluster, all of your backups for that cluster will be retained. You can also choose to retain you backups for a cluster when deleting a cluster through the Atlas Administration API. When deleting a cluster through the ( https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Clusters/operation/deleteLegacyCluster ) API ( https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Clusters/operation/deleteLegacyCluster ) , you can include the retainBackups parameter and this will retain all of your backups after termination as well. You can view or use the backups from a terminated (or other active) M10+ cluster by selecting the "Backup" tab in the left side navigation of the Atlas UI. At any time before terminating a cluster, you can choose to take an On-Demand Snapshot, if you would like a final snapshot. To protect from accidentally deleting a cluster in general, you can utilize the Termination Protection ( https://www.mongodb.com/docs/atlas/cluster-additional-settings/#termination-protection ) setting in Atlas, which when enabled prevents users from deleting any cluster. In addition to these options, if you would like to protect your backups, in all scenarios, from ever being deleted before the designated retention period has ended, please learn more about our new backup feature called Backup Compliance Policy ( https://www.mongodb.com/docs/atlas/backup/cloud-backup/backup-compliance-policy/ ). This ensures your backups are never deleted early.
  • Attach files
  • Guest
    Jun 14, 2022
    We're now at 2 years since this has been recommended. Where is MongoDB with this enhancement? This is upvoted 71 times.
  • Guest
    Sep 24, 2021
    This feature is a must, especially when there is complete automation involved. This will reduce the additional overheads of managing these backup's.
  • Guest
    Sep 23, 2021
    This feature will help a lot in our solution where we are going to use MongoDB atlas.
  • Guest
    Sep 1, 2021
    I would even say that backups should be independent of cluster deletion.
  • Guest
    Aug 11, 2021
    Hi - this in my opinion is critical. We have just had an issue on a development environment where terraform performed a drop and recreate moving from an M5 to an M10. Not only is there no final snapshot, the cluster backups are not available post upgrade. Doing an upgrade in the UI and then reflecting the change back into TF does a data migration but the this behaviour could really be dangerous.
  • Guest
    May 20, 2021
    Why has there not been any MongoDB response to this? This feedback item was opened almost a year ago and it has 41 votes currently. This is a critical item to prevent a complete and utter disaster to an accidental delete. You definitely should support keeping existing backups for your clusters as the default option and only if you opt out will the backups be deleted.
  • Guest
    Feb 19, 2021
    Totally need that feature ! Could be a life saver.
  • Guest
    Oct 13, 2020
    We need this feature! This would be awesome. For now we are backuping all the backup in Google Cloud Storage. Backuping backup, that's crazy!