2

I need to export data from Azure Cosmos DB in CSV or JSON format to my local system.

Can anyone help me with that?

Jasmin Raval
  • 184
  • 1
  • 5
  • 15
  • Export to where? Since you're using the MongoDB API, have you tried using the native MongoDB `mongoexport` tool? What specific issues are you having? Please edit to be more specific. Note: As written, it's also a bit too broad, since it's just a general requirement with little detail. And it also reads like a general documentation request. – David Makogon Jan 07 '19 at 11:39
  • hi, @DavidMakogon I needed to export to my local system in JSON or CSV formate I just have no idea how can I do that because in Azure there is no way in the portal that I can export. – Jasmin Raval Jan 07 '19 at 13:39

1 Answers1

5

You could use cosmos db Migration Tool,please refer to this official article: https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb-migrate

Or you could use Azure Data Factory for cosmos db mongo api to export data from cosmos db into azure blob storage csv file,please refer to this document: https://learn.microsoft.com/en-us/azure/data-factory/connector-azure-cosmos-db-mongodb-api

Jay Gong
  • 23,163
  • 2
  • 27
  • 32