azcopy blob snapshots

AzureUser-9588 141 Reputation points
2022-01-13T10:39:22.877+00:00

I am changing the replication type from LRS to ZRS, took manual migration approach and using AzCopy to copy data from one storage account to other. How to ensure that even the snapshots also gets copied over the other storage account along with actual blobs/fileshares? When I try to copy the file using AzCopy, only actual file is getting copied but not the related snapshots. So does replication type change of storage account, will lead me to loose the existing blob snapshots/fileshares snapshots?
I found this SO link which is 6 years old, is it still the same workaround which is possible? - https://stackoverflow.com/questions/33661169/copy-azure-blob-with-snapshots

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,170 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,722 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,449 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 33,701 Reputation points Microsoft Employee
    2022-01-13T18:59:58.56+00:00

    @AzureUser-9588
    Unfortunately copying the base blob and preserving the snapshots is not something that is currently supported. If possible, you can consider using the live migration with Azure Support and this should preserve the snapshots and versions. The workaround provided on StackOverflow should still be valid and is a good alternative.

    Hope this helps. Let us know if you have further questions or any issues and we will be happy to assist.

    -------------------------------

    Please don’t 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