Reputation:
Is there a way to backup a cosmos DB by using an azure function and save the .JSON file in a Azure blob storage
Upvotes: 1
Views: 1162
Reputation: 23782
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.
Upvotes: 3
Reputation: 740
check out Azure Data Factory. I think it's pretty good and easy to use it for backup functionality.
Upvotes: 0