Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easy way to download a Cosmos DB from Azure

I don't find how to download it. I'd like to do it for 2 reasons:

  • Backup it to my computer
  • Try to open it with Microsoft Excel

However, I don't find an easy way like clicking on a button to download it.

The only way seems to code a complex piece of code to go throw the whole database and export it in some format like JSON.

Am I right? Hopefully you found an easy way to download the database from Azure!

We clicked here:

screenshot

But that csv doesn't contain any data, just information about databases

like image 731
chelder Avatar asked Oct 26 '25 15:10

chelder


1 Answers

You could use Azure Data Factory and export your data e.g. to Blob Storage in CSV format. should be very easy to build with the copy wizard https://learn.microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory-copy-data-tool

The Export to CSV button that you showed above does only export the table of resources in the Azure Portal, it has nothing to do with Cosmos DB or even the data inside it.

like image 173
silent Avatar answered Oct 29 '25 05:10

silent



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!