简体   繁体   English

Azure CosmosDB-增量备份

[英]Azure CosmosDB - incremental backups

Considering the young age of CosmosDB . 考虑到CosmosDB的年龄。

  1. Are there any way to perform Incremental backups ? 有什么方法可以执行增量备份?
  2. Are there any tools than can help validating the integrity of a backup? 有什么工具可以帮助验证备份的完整性?

Something that traditional enterprise RDBMS are providing. 传统企业RDBMS提供的功能。

See the documentation for Azure CosmosDB online backup and restore 请参阅Azure CosmosDB在线备份和还原文档

As per the documentation, backup and restore for CosmosDB is 'limited' to full backup every 4 hours, with snapshots kept for 30 days (in geo-redundant blob storage). 根据文档,CosmosDB的备份和还原被“限制”为每4小时进行一次完整备份,并保留30天的快照(在地理冗余blob存储中)。 If you need more than that, you have to schedule additional backups and exports manually (using the data migration tool). 如果您还需要更多,则必须手动安排其他备份和导出(使用数据迁移工具)。

However, a comment from 'govind@MSFT' on the azure feedback platform claims that backups are now taken continuously. 但是, “ govind @ MSFT”在天青反馈平台上的评论声称,现在正在连续进行备份。

For restore, you still need to open a support ticket. 要还原,您仍然需要打开支持凭单。

I suspect this will evolve to something similar to Azure SQL (there you get weekly full backup, differential backup every few hours, tx log backup every few minutes + self service point in time restore), but they're not quite there yet, or so it seems. 我怀疑这将演变为类似于Azure SQL(每周进行一次完整备份,每隔几个小时进行差异备份,每隔几分钟进行tx日志备份+自助服务时间点还原),但是它们还不存在,或者所以它看起来。

Are there any way to perform Incremental backups? 有什么方法可以执行增量备份?

There are no other ways of managing external backups for cosmos DB as we are still awaiting the update on this. 没有其他方法可以管理cosmos DB的外部备份,因为我们仍在等待更新。

Are there any tools than can help validate the integrity of a backup? 有没有什么工具可以帮助验证备份的完整性?

Not sure of online DB backups, but you can take backups through dump path using any cloud based backup software like cloudberry with azure servers. 不确定在线数据库备份,但是您可以使用任何基于云的备份软件(例如带有azure服务器的cloudberry)通过转储路径进行备份。

The dump files need to be restored on the servers and the loaded into the DB server. 转储文件需要在服务器上还原,然后加载到数据库服务器中。

If you want to maintain your own snapshots, you can use the export to JSON option in the Azure Cosmos DB Data Migration tool to schedule additional backups. 如果要维护自己的快照,则可以使用Azure Cosmos DB数据迁移工具中的“导出到JSON”选项来计划其他备份。

Ref: https://docs.microsoft.com/en-us/azure/cosmos-db/online-backup-and-restore 参考: https : //docs.microsoft.com/zh-cn/azure/cosmos-db/online-backup-and-restore

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM