简体   繁体   中英

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. Just use sdk to get the data from your cosmos db and save them as files into blob storage.

Another choice is Azure Data Factory .

Cosmos DB Output:

在此处输入图片说明

Blob Storage Input:

在此处输入图片说明

Backup pipeline:

在此处输入图片说明

Result:

在此处输入图片说明

Hope it helps you.

check out Azure Data Factory . I think it's pretty good and easy to use it for backup functionality.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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