I have an Azure Cosmos DB and I need to delete all the resources from this subscription. Is there any way to take a backup offline from the portal?
Sign into the Azure portal. Navigate to your Azure Cosmos account and open the Backup & Restore pane. Update the backup interval and the backup retention period as required. Backup Interval - It's the interval at which Azure Cosmos DB attempts to take a backup of your data.
Open the Azure Cosmos DB account in the Azure portal and click on features. As shown below, the continuous back is in disabled mode. Click on the continuous backup and Enable it. It starts the backup migration.
MS has finally introduced a backup policy feature to CosmosDB!
See https://docs.microsoft.com/en-us/azure/cosmos-db/online-backup-and-restore#modify-the-backup-interval-and-retention-period
I guess this removes the need for third party and/or custom tools to do such a basic Ops routine.
UPDATE : Cosmos DB now supports backup Online backup and on-demand data restore in Azure Cosmos DB
You can use Data Migration Tool suggested on Automatic online backup and restore with Azure Cosmos DB article to do the same.
There is no way to take a backup and import to Azure CosmosDB.
The recommendation is to open a support ticket (e.g. via Azure Portal) or call Azure Support to streamline the backup/restore strategy and to request Azure to restore the latest backup in case of a disaster event. In addition, you can contact the Azure CosmosDB team by sending an email to [email protected].
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With