Hi Zoddo,
Welcome to Microsoft Q&A Forum, thank you for posting your query here!
If you're unable to update the redundancy of your Azure storage account directly from ZRS (Zone-Redundant Storage) to GZRS (Geo-Zone-Redundant Storage), a workaround is to create a new storage account with the desired redundancy and migrate the data. Here's how to do it using AzCopy or Azure Storage Explorer:
Steps to Migrate Data to a New Storage Account
- Create a New Storage Account with GZRS
- In the Azure Portal, create a new storage account.
- Ensure that the Replication option is set to GZRS (Geo-Zone-Redundant Storage) during creation.
- Migrate Data Using AzCopy
AzCopy is a command-line tool that can be used to copy data between storage accounts.
- Download and install AzCopy.
- Authenticate using:
- Copy the blobs from the ZRS account to the new GZRS account:
- Source is ZRS Destination is newly created GZRS
Command example: azcopy copy "source storage account details" "destination storage account details"
azcopy copy "https://<source_account_name>.blob.core.windows.net/<source_container>/<path>?<SAS_token>" "https://<destination_account_name>.blob.core.windows.net/<destination_container>/<path>?<SAS_token>" --recursive
This will recursively copy all blobs from the ZRS container to the GZRS container.
- Migrate Data Using Azure Storage Explorer
Azure Storage Explorer is a graphical tool that allows you to manage and transfer files between Azure storage accounts.
- Download and install Azure Storage Explorer.
- Connect both your old storage account (ZRS) and the new storage account (GZRS).
- Navigate to the blobs in the ZRS account, select the containers/blobs you want to migrate, and use the "Copy" option.
- Navigate to the destination storage account (GZRS) and use "Paste" to copy the data.
- Verify Data Migration
- Ensure that all your data has been successfully copied to the new storage account.
- Update any applications or services that depend on the storage account to point to the new GZRS storage account.
Please refer this article AzCopy documentation and Azure Storage Explorer documentation.
Please let us know if you have any further queries. I’m happy to assist you further.
Hope this helps!
Kindly let us know if the above helps or you need further assistance on this issue.
Please do not forget to "Accept Answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.