I'm trying to create a disaster recovery solution using Snapshots in Azure. I have many, many disks in a cluster and I currently can take snapshots of the disks to be able to restore locally. This works
I now want to either COPY the existing snapshots to a different region or create new snapshots of my disks but stored in a different region.
Reference: https://docs.microsoft.com/en-us/cli/azure/snapshot?view=azure-cli-latest#az_snapshot_create
I have tried this. In this example, the $disk_location is in eastus and the $target_location is eastus2.
az snapshot create --name $snapshot_name \
--resource-group $resource_group \
--location $target_location \
--source "$disk_location" \
--no-wait
This fails with "Resource mdw_data1 is not found." It exists but not in the $target_location.
I also tried creating a snapshot with the source as another snapshot. I ran into two problems with this. First, it stated the snapshot already existed because I'm using the same snapshot_name and when I changed to a different name, it gave me the same "not found" error.
Snapshots can be either locally redundant (3 copies in a single physical location) or zone redundant (3 copies across 3 availability zones within a region). Neither helps in the scenario where a region goes offline.
Reference: https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
Also, Microsoft says: "For applications requiring high availability, Microsoft recommends using ZRS in the primary region, and also replicating to a secondary region." Yet I can't copy my snapshots to a secondary region as they recommend.