Problem:
I try to build a backup solution for Azure Cosmos DB that gives us DB dumps on a regular basis in case we programmatically corrupt the data in our database. The issue is that Data Factory does not (yet) exist for Azure Germany and we cannot rely on the automatic backups from Azure (that are only available for 8 hours). I do not want to use any extra applications outside the cloud.
What I found so far:
https://www.npmjs.com/package/mongo-dump-stream
Mongo Dump Stream should be able to connect to our DB and read from it.
My idea is to use this npm from within Azure Functions and send the result of the dump to a blob storage.
My question:
How can I send the result to a blob storage?
Can you give an example for concrete implementation?