[英]Export cosmosDB by an azure function and save the file in a blob storage
有没有一种方法可以通过使用azure函数备份cosmos数据库并将.JSON文件保存在Azure blob存储中
For sure , you can create a Time-Trigger
Azure Function to run your backup job. 当然,您可以创建一个
Time-Trigger
Azure函数来运行备份作业。 Just use sdk to get the data from your cosmos db and save them as files into blob storage. 只需使用sdk从cosmos db中获取数据,然后将它们作为文件保存到blob存储中即可。
Another choice is Azure Data Factory . 另一个选择是Azure Data Factory 。
Cosmos DB Output: Cosmos DB输出:
Blob Storage Input: Blob存储输入:
Backup pipeline: 备用管道:
Result: 结果:
Hope it helps you. 希望对您有帮助。
check out Azure Data Factory . 查看Azure数据工厂 。 I think it's pretty good and easy to use it for backup functionality.
我认为将其用于备份功能非常好且容易。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.