How can I change the replication type of an existing blob storage

Rishabh Srivastava 20 Reputation points
2024-03-27T11:33:57.9366667+00:00

Hi,
I want to convert a LRS blob storage to a ZRS blob storage. How can I do it through azure cli and SDK commands

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,409 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Anand Prakash Yadav 5,205 Reputation points Microsoft Vendor
    2024-03-27T12:46:19.2533333+00:00

    Hello Rishabh Srivastava,

    Thank you for posting your query here!

    In order to migrate an Azure storage account from LRS to ZRS replication, you can Perform a conversion.

    There are two ways to initiate a conversion:

    • Customer-initiated

    • Support-initiated

    Customer-initiated conversion:

    Now you can initiate the migration yourself. Select the storage account you want to migrate and navigate into the Redundancy section.
    User's image

    A confirmation is needed, and the storage account gets submitted for conversion. The migration is started within 72 hours and can take several days for large storage accounts.

    You can achieve the same using PowerShell/CLI, for details please refer: https://learn.microsoft.com/en-us/azure/storage/common/redundancy-migration?WT.mc_id=AZ-MVP-5000119&tabs=powershell#customer-initiated-conversion

    Or else you can still request a conversion by opening a support request with Microsoft i.e., Support-initiated.

    For details on the same: https://learn.microsoft.com/en-us/azure/storage/common/redundancy-migration?WT.mc_id=AZ-MVP-5000119&tabs=portal#support-initiated-conversion

    I hope this helps! Please let me know if the issue persists or if you have any other questions.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments