azureazure-cosmosdbdatabase-backups

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:

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


Solution

  • I use the Azure Cosmos DB Data Migration Tool for that purpose. You can download it here, and it's got a simple UI for both importing and exporting data. I find it quite a bit easier than Data Factory. And since it runs locally on Windows, it also works with the Cosmos DB Emulator.