对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。
Docs 菜单

备份集群

注意

免费级集群中未提供的功能

This feature is available for Flex clusters and higher. Free clusters are designed for learning and small-scale development, and support a subset of Atlas capabilities. To learn more about which features are available for Free clusters, see Atlas Free Cluster Limits.

Atlas 云备份使用集群的云服务提供商的原生快照功能提供本地化备份存储。

注意

The MongoDB Atlas Shared Responsibility Model defines the complementary duties of MongoDB and its customers in maintaining a secure and resilient data environment. Under this framework, MongoDB manages the security and operational integrity of the underlying platform, while customers are responsible for the configuration, management, and data policies of their specific deployments. For a detailed breakdown of ownership across security and operational excellence, see Shared Responsibility Model.

Atlas 支持以下云平台上的集群的云备份:

您可以在创建集群修改现有集群时启用云备份。在集群配置模式中,将 Cloud Backup 切换为 Yes

如果有严格的数据保护要求,则可启用备份合规策略来保护备份数据。

云备份会继承集群云提供商原生的快照冗余。因此,云备份至少具有以下冗余,具体取决于云提供商:

  • AWS 将对象存储在 AWS 区域中至少三个可用区域的多个设备上。

  • Microsoft Azure在支持ZRS 的区域中使用区域冗余存储(ZRS),从而跨所选地区的三个可用区复制您的数据。在不支持 ZRS 的区域, Microsoft Azure使用本地冗余存储(LRS),在单个数据中心内将您的数据复制三份。

  • Google Cloud 将您的数据分布在备份区域的多个区域内。

为确保云备份具有更高的冗余性,您还可以在 Atlas 中启用多区域快照分发。这会自动创建快照和 oplog 的副本并将其存储在其他 Atlas 区域。通过分布在多个区域的快照,如果主区域出现故障,仍然可以恢复集群。

要管理或恢复集群的备份,您必须拥有该项目的 Project Backup ManagerProject Owner 访问权限。

拥有 Organization Owner 访问权限的用户必须将自己添加为 Project Backup ManagerProject Owner,然后才能管理或恢复备份。

云备份支持分片的集群。 在向集群添加或删除分片后,无法将现有快照恢复到集群。 您可以将现有快照恢复到具有匹配拓扑结构的另一个集群。

在单区域和多区域分片集群中,Atlas 会在每个分片的主要区域为其创建一个单独的备份。

给本页内容打分