AzCopy (download blobs from many containers(1000+) in a storage account


  • I have many containers(1000+ ) in a storage account and each of those containers have many blobs in them.
    I want to download all these containers and the blobs to my local server.

    AzCopy /Source:https://<sourceaccount> /Dest:F:\AzureblobStorage\Blobfiles  /sourcekey:<key> /S /XO

    Will the above command download all the containers and the blobs?

    Do i have to pass the Container name as parameter ? Is there anyway to by-pass that and get blobs from all containers in storage account ? 

    Anand K Vanam

    Thursday, September 10, 2015 7:24 PM


  • Hi Anand,

    You could check the following link for details:

    When copying from Blob Storage be advised that the parameter /Source:<source> Specifies the source data from which to copy. The source can be a file system directory, a blob container, a blob virtual directory, a storage file share, a storage file directory, or an Azure table.

    To copy all blobs in a container recursively you could consider using:

    AzCopy /Source: /Dest:C:\myfolder /SourceKey:key /S

    However, I'm afraid I'm not aware of a way to copy all the containers in a storage account at the same time.


    Friday, September 11, 2015 10:53 AM