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).
- Download blobs from an RA-GRS account’s secondary endpoint to your local disk.
AzCopy https://myaccount-secondary.blob.core.windows.net/mynewcontainer/ d:\test\ /sourcekey:key /s
- Copy blob from an RA-GRS account’s secondary endpoint to the primary endpoint.
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.
Zhiming
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?
Thanks!
Hi David,
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.
abc.vhd
abc(2014-05-24 080757).vhd
abc(2014-05-25 120657).vhd
abc(2014-05-29 090521).vhd
Zhiming