how can I export data from cosmosdb in json file, in safe way, without locking table? and preferred to have ability to download only some properties from document with query.
Asked
Active
Viewed 5,757 times
-1
-
I believe that cosmosDb does not have the `lock` mechanism. – Kiril1512 Sep 18 '20 at 08:45
-
I do you want to do it with an .net app or with azure functions or other? – Kiril1512 Sep 18 '20 at 10:40
-
probably I'm mostly considering some tool, like data migration tool (https://azure.microsoft.com/en-us/updates/documentdb-data-migration-tool/) – TamKap Sep 18 '20 at 10:43
-
Export data to where? – Mark Brown Sep 18 '20 at 15:10
-
to json format file – TamKap Sep 18 '20 at 15:17
-
CosmosDB functionality drastically differs based on the API used. Which API are you using? – Cninroh Sep 21 '20 at 07:04
-
I'm using SQL api – TamKap Sep 21 '20 at 07:15
1 Answers
1
If you want to store locally or in Azure Blob storage, data migration tool can do this.
If you want to store in other service, Azure Data Factory is a choice.
You can refer to this documentation.

Steve Johnson
- 8,057
- 1
- 6
- 17