Learn this information to study blob versioning and learn how to allow the function in an Azure storage account.
What’s Blob Versioning and Why Allow it?
Azure blob storage versioning permits the automated upkeep of the earlier variations of an object. When this function is enabled, you’ll be able to restore earlier blob variations.
This lets you recuperate deleted or modified knowledge.
Enabling blob versioning ought to kind a part of your knowledge safety and administration technique. As a part of this technique, you could want to duplicate blob storage knowledge from one storage account to a different in a distinct Azure area.
The method of replicating blob storage knowledge between storage accounts known as object replication. Azure blob object replication requires that versioning be enabled within the supply and vacation spot storage accounts.
Now that I’ve defined blob versioning and why you could wish to allow this function, let me present you two strategies to allow it.
Possibility 1: Allow Blob Versioning through the Azure Portal
- Open the Azure portal through portal.azure.com, then seek for and open the storage account you wish to configure.
- On the Azure storage account’s web page, develop the Information Administration and click on the Information Safety blade. Then, on the small print pane, scroll to the Monitoring part, test the Allow versioning for blobs checkbox, and click on Save.

Possibility 2: Allow Blob Versioning through PowerShell
You possibly can run the instructions on this part from PowerShell in your pc. Nevertheless, which will require putting in the required PowerShell modules. To keep away from this problem, I want Azure Cloud Shell, a browser-based Azure shell that gives PowerShell or Bash.
- Check in to the portal through portal.azure.com and click on the Azure Cloud Shell icon on the highest menu.
If that is your first time accessing Azure Cloud Shell, Azure will information you thru the steps to organize the account for first-time use. When you choose a shell possibility, select PowerShell.

- When the shell opens, develop it. Though that is non-obligatory, I discover increasing the shell useful.
You might also wish to clear the shell by executing the clear or cls command.

- Lastly, allow versioning by working the next instructions. I’ve added feedback to clarify every command’s operate.
#1. Save the storage account's useful resource group title within the $AzureResourceGroup variable$AzureResourceGroup variable = "veeambackuprg"
#2. Save the storage account title in a variable
$StorageaccountName = "veeambackup21"
#3. Allow versioning
Replace-AzStorageBlobServiceProperty -ResourceGroupName $AzureResourceGroup -StorageAccountName $StorageaccountName -IsVersioningEnabled $true
Here’s a screenshot of the instructions. The second screenshot exhibits that the command enabled the function within the storage account.


Conclusion
Enabling blob versioning in an Azure storage account means that you can restore earlier variations of objects within the blob. This function can also be required for object replication, which permits knowledge to be copied asynchronously from a supply storage account to a vacation spot account.
Thanks for visiting Itechguides. Earlier than you run, would you thoughts responding to the “Was this web page useful?” request beneath and sharing your ideas about this text?
