Search code examples
azureazure-storageazure-blob-storageazcopy

azcopy v10 copy doesn't copy blob metadata


We use blob metadata and are trying to copy large volume of blobs from one storage account to another. we see that blob is copied while the metadata is not.

We are using azcopy v10


Solution

  • Update 12/17:

    The issue(when using azcopy sync, the metadata is not copied) is solved in azcopy version 10.3.3. I have tested it, it works in v10.3.3.


    Please try to use the latest version of azcopy, v10.3.2, it works fine at my side:

    The command to copy:

    azcopy copy "https://yy3.blob.core.windows.net/test1/js-appinsights.PNG?sasToken" "https://yy4.blob.core.windows.net/test1/3.PNG?sasToken"
    

    The result:

    enter image description here

    The source blob with metadata:

    enter image description here

    After copied, the destination blob also has same metadata:

    enter image description here