Sunday, November 30, 2025

Configure backup storage redundancy for Azure Cosmos DB account



This text will clarify backup storage redundancy for Azure Cosmos DB. Backups are a important function to maintain copies of our knowledge to make sure knowledge safety and recoverability in case of any unintentional deletion, updating, or any form of catastrophe. However this isn’t sufficient to run backups solely to save lots of its copies. We should additionally shield these backup copies from unintentional deletes or corruption and guarantee their correct resiliency needs to be in place to maintain backups secure from any unexpected circumstances. It is determined by the criticality of your knowledge whether or not you need to hold them regionally to need to replicate them in different places or areas to make sure their resiliencies.


Azure Cosmos DB accounts periodically run backups at outlined intervals on geo-redundant Azure blob storage accounts. Information replicates to the respective paired area in geo-redundancy mode to guard backup copies from deliberate or unplanned occasions, system failure, or in case of any catastrophe conditions. Cosmos DB helps 3 sorts of storage redundancy fashions to guard backup copies.


  • Geo-redundant backup storage

  • Zone redundant backup storage

  • Domestically redundant backup storage


Geo-redundant backup storage is the default configuration for Cosmos DB backup storage redundancy. Backup copies replicate to the respective paired area which is bodily separated a whole lot of miles away on this redundancy mannequin. Zone redundant backup storage replicates backup copies to the provision zones which is a separate bodily location which is utilizing separate networking, energy, and cooling. Domestically redundant backup storage retains your backup copies in the identical bodily location which is perhaps utilizing the identical energy, cooling, and networking. You’ll be able to examine the paired location in your main area within the hooked up MDSN hyperlink.


You have to additionally concentrate on the pricing influence whereas selecting any of those backup storage redundancies. Domestically redundant backup storage is the most affordable possibility amongst all 3 whereas Geo-redundant backup storage is the most costly possibility out there in your Cosmos DB account. You have to use the Azure Cosmos DB pricing calculator to get the approximate price you’ll want to pay whereas selecting the specified redundancy mannequin.


After we provision a brand new cosmos DB account, you’ve the choice to decide on your required backup storage redundancy mannequin within the periodic backup coverage. Word, you may solely configure the backup storage redundancy mannequin within the Periodic backup coverage, one other backup coverage steady backup doesn’t permit customers to configure or modify this setting. You’ll be able to confirm or modify the backup storage redundancy mannequin utilizing the Backup Coverage tab of the brand new account creation kind. Take a look on the beneath picture the place the default configuration is ready whereas provisioning an Azure Cosmos DB account. If you wish to change backup storage redundancy from default configuration to zone or regionally redundancy storage, then you may click on on the respective radio button whereas provisioning your cosmos DB account.


Backup Policy tab while provisioning Azure Cosmos DB account


Subsequent, I’ll clarify the right way to replace backup storage redundancy to a special one from the present configuration of an current Azure Cosmos DB account.

Change backup storage redundancy of an Azure Cosmos DB account


I assume you have already got a cosmos DB account that was provisioned with default backup storage redundancy i.e., Geo-redundant backup storage. Now, there’s a requirement got here to vary it to Zone redundant backup storage. Let’s carry out this train within the beneath steps.


Log in to the Azure portal. Go to the Azure Cosmos DB account dashboard web page. Select your required cosmos DB account for which you need to change backup storage redundancy. Click on on this cosmos DB account to open its Overview web page. Now you may entry its Backup & Restore tab given below Settings from the left facet pane to entry its periodic backup configurations choices.


Let’s assume we’ve a cosmos DB account mdscosnosdb1 for which we have to replace backup storage redundancy as Zone redundant backup storage. I’ve accessed the Backup & Restore tab from Settings given within the left facet pane as proven within the beneath picture. We will see it has a default configuration set as geo-redundant backup storage. You might want to choose the suitable radio button from the Backup storage redundancy given in the suitable facet pane of the beneath picture, right here we need to replace it to zone redundancy so let’s click on on the second possibility.


Backup & Restore tab of a cosmos db accountBackup & Restore tab of a cosmos db account


I’ve chosen Zone redundant backup storage for this cosmos DB account mdscosmosdb1 and hit the Submit button to use the adjustments.


Change backup storage redundancy of cosmos db accountChange backup storage redundancy of cosmos db account


When you hit the Submit button publish deciding on your required configuration from the above picture, you’ll get a beneath pop-up window stating “…Replace backup coverage” within the prime proper nook together with a notification message on the display “Updating backup coverage for this account”.


Apply the changes you made in backup storage redundancy for cosmos db accountApply the changes you made in backup storage redundancy for cosmos db account


You’ll carry on seeing the “Updating backup coverage for this account” notification until the time updates will probably be efficiently utilized to this Azure Cosmos DB account. It’s going to take time so you need to wait and let Azure course of this replace efficiently for this cosmos DB account.


As soon as an replace will probably be efficiently utilized to this account then the earlier notification message will change to a different inexperienced notification message stating “Efficiently up to date backup coverage for this account” as proven within the beneath picture.


Backup storage redundancy updated for cosmos db accountBackup storage redundancy updated for cosmos db account


There could possibly be a state of affairs the place your main area may not have all three backup storage redundancies supported so you could examine and guarantee whether or not your To-be configuration is supported or not in your cosmos DB account. Let’s assume you’ve provisioned your cosmos DB account in UAE north area which doesn’t assist zone redundant backup storage so you can not select zone redundancy for cosmos DB accounts from this area.


The beneath Azure Cosmos DB account mdscosmosdb2 has been provisioned in UAE north area. Whenever you entry its Backup & Restore tab given below Settings from the left facet pane then you’ll observe that there are solely two backup storage redundancies exhibiting for this account within the beneath picture. Zone redundant backup storage is just not exhibiting which suggests this redundancy is just not supported for this area and can’t be configured. You’ll be able to both go together with the present configuration which is geo-redundant, or you may select regionally redundant backup storage for this cosmos DB account. Make certain to research the criticality of the backup copies which you need to place on regionally redundant backup storage.


Check backup storage redundancy options for a cosmos db account provisioned in UAE north regionCheck backup storage redundancy options for a cosmos db account provisioned in UAE north region


You’ll be able to comply with the identical steps which we adopted whereas modifying backup storage redundancy from geo-redundant to zone redundant within the above steps. You’ll be able to select the radio button for the regionally redundant backup storage possibility and hit the submit button to use this replace to this Azure Cosmos DB account.


Change backup storage redundanciesChange backup storage redundancies


You’ll be able to see updates are being utilized to the cosmos DB account in the identical method within the beneath picture.


Apply modified valueApply modified value


As soon as backup storage redundancy will probably be up to date, you’ll get its profitable notification in inexperienced coloration as it’s proven within the beneath picture.


Configure backup storage redundancy for Azure Cosmos DB accountConfigure backup storage redundancy for Azure Cosmos DB account


We will additionally modify backup storage redundancy with the assistance of PowerShell cmdlets. You might want to connect with an Azure account after which you could examine the area supporting for backup redundancy choices and based mostly on the result you may select acceptable backup storage redundancies. Be sure you are operating on the newest model of the PowerShell module or model 1.4.0 or larger.


Subsequent examine the backup storage redundancy choices supported to your main area the place Azure Cosmos DB account exists. Run beneath cmdlets, be certain to switch together with your main area identify.


All supported redundancy choices will probably be displayed whereas accessing the BackupStorageRedundancies property utilizing the above command. As soon as you might be positive that your to be desired redundancy choices are supported on this area then you may run beneath PowerShell cmdlets to replace the backup storage redundancy in your cosmos DB account utilizing PowerShell cmdlets.

Conclusion


I’ve defined backup storage redundancy choices out there for the Azure Cosmos DB account. You have to plan it and select acceptable backup storage redundancy to make sure knowledge safety and hold your backup copies secure from any unexpected circumstances like pure or artifical disasters, unintentional deletes, or different deliberate or unplanned occasions from system or region-specific.

Manvendra SinghManvendra Singh
Newest posts by Manvendra Singh (see all)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles