宇宙表 API - 执行自定义计划备份



我正在使用Cosmos Table API应用程序,我需要每15分钟备份一次所有表中的所有数据。我该怎么做?

由于 ADF 仅支持 cosmos db sql api 和 mongo api,不支持表 api,因此似乎必须考虑使用迁移工具。

您可以按照上面的示例命令行进行操作:

dt.exe/s:AzureTable/s.ConnectionString:"DefaultEndpointsProtocol=https;帐户名称=;AccountKey="/s.Table:metrics/s.InternalFields:All/s.Filter:"PartitionKey eq 'Partition1' and RowKey gt '00001'"/s.Projection:ObjectCount;ObjectSize/t:DocumentDBBulk/t.ConnectionString:" AccountEndpoint=;帐户密钥=;数据库=;"/t.Collection:metrics/t.CollectionThroughput:2500

然后将其转换为蝙蝠文件并将其设置为Windows计时任务。

最新更新