Azure – Storage account blob versioning is available in preview

By now you know Azure Storage Account is used to store data in Azure, either as blob, file or table.

Azure Storage Blob is usually used to store unstructured object in Azure Storage.

This is usually used by an application performing continuous data updates.

In this context, there has been a need for versioning, being able to compare 2 different version of this Storage Blob.

Well, good news this is now available in preview.

Additional cost storage may occur as blob versioning are billed the same rate as active data.

The preview is currently available only in the following regions:

  • France Central
  • Canada East
  • Canada Central

First thing to do before being able to use the Blob versioning is to register the feature for the Storage namespace.

To register the Versioning feature you need to use PowerShell (hit don’t forget you can use Cloud Shell https://shell.azure.com)

Register-AzProviderFeature -ProviderNamespace Microsoft.Storage -FeatureName Versioning

image_thumb[1]

Then refresh the Storage namespace

Register-AzResourceProvider -ProviderNamespace Microsoft.Storage

image_thumb[2]

Then you need to use a storage account hosted in one of the above regions.

If you create a new storage account, the Versioning option will be available for activation at the Advanced step under the Data Protection section

image_thumb[3]

If you already have an existing storage account, you can enable it under the Blob ServiceData Protection blade

image_thumb[4]