We are glad to announce that AzCopy new version V2.3 has been released at aka.ms/AzCopy.This new version will take advantage of the new Read Access Geo Redundant Storage (RA-GRS) functionality and include support for reading Geo-Redundant account’s data in the secondary region. For RA-GRS, please find details at Windows Azure Storage Redundancy Options and Read Access Geo Redundant Storage.
After enabling RA-GRS in the azure portal, if the primary endpoint is “myaccount.<service>.core.windows.net”, the secondary endpoint will be “myaccount-secondary.<service>.core.windows.net”.
Here are the samples of AzCopy reading blobs from the secondary region (Attention: You cannot copy data to the secondary region).
AzCopy https://myaccount-secondary.blob.core.windows.net/mynewcontainer/ d:\test\ /sourcekey:key /s
AzCopy https://myaccount-secondary.blob.core.windows.net/mynewcontainer/ https://myaccount.blob.core.windows.net/mybackupcontainer/ /sourcekey:key /destkey:key abc.txt
Furthermore, AzCopy V2.3 has made various performance improvements, and has been updated to use Azure Storage Client library v3.0.3.
This is great! Is there a way to download a VHD which is running an Azure VM from the secondary storage, while the VM is running?
You can create snapshots of your VHD, and download the snapshot from the secondary end point once they are there.
Please add option /snapshot in your command line as below, then AzCopy will download the VHD together with all its snapshots to your local disk.
AzCopy myaccount-secondary.blob.core.windows.net/mynewcontainer d:\test\ /sourcekey:key abc.vhd /snapshot
Say you’ve already created three snapshots and all of them have been geo-replicated to secondary region, then your downloading from secondary end point may include below blobs.