How to copy CosmosDb docs to Blob storage (each doc in single json file) with Azure Data Factory

后端 未结 4 1444
清歌不尽
清歌不尽 2021-01-21 05:12

I\'m trying to backup my Cosmos Db storage using Azure Data Factory(v2). In general, it\'s doing its job, but I want to have each doc in Cosmos collection to correspond new json

4条回答
  •  抹茶落季
    2021-01-21 05:45

    Just take one collection as an example.

    And inside the foreach:

    And your lookup and copy activity source dataset reference the same cosmosdb dataset.

    If you want to copy your 5 collections, you could put this pipeline into an execute activity. And the master pipeline of the execute activity has a foreach activity.

提交回复
热议问题