6
votes

Is there a way of downloading a container and all of its content from Azure Blob Storage?

I use CloudBerry Explorer for Azure Blob Storage to manage my containers, files and folders.

I have a container with over 100GB of data which I would like to download, but cannot find a way of downloading the container, only individualy files.

2

2 Answers

17
votes

If you want, you can use the AzCopy tool to download an entire blob container. Assuming you have the latest version of the Azure SDK installed, you can find this tool in the C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy folder.

You can try the following command:

AzCopy /Source:"https://[accountname].blob.core.windows.net/[containername]/" /Dest:"[folder path e.g. D:\temp\" /SourceKey:"[account key]" /S

Replace [accountname], [containername], [folder path], [account key] with the appropriate values.

2
votes

To download the Container (All Files) from Azure Blob Storage

az login

az account set --subscription <Sub ID>

az storage blob download-batch --account-name <storageaccountname> --source <containername> --destination <C:\Users\Downloads\***>

To Delete All files at a time

az storage blob delete-batch --account-name <storageaccountname> --source <containername>