Home > OS >  How Copy the Data from Azure CosmosDb to local using AzCopy tool?
How Copy the Data from Azure CosmosDb to local using AzCopy tool?

Time:10-06

I want to copy the Data from the AzureCosmosDb Database\Container to the Local.

I am trying with the Azcopy tool. I have tried the query as per this URL. But its not working. The query which I have tried is as below :

Azcopy /Source:<Endpoint\Database\Container> /SourceKey:key /"<PrimaryKey>" /Dest:<Local Location> /EntityOperation:InsertOrReplace

What should I have to modify in this query to get the Data from Cosmos Db to my Local folder ?

CodePudding user response:

The above method is recommended for Table API as mentioned in the doc, if you want to migrate data of SQL API use the Data Migration Tool.

  • Related