Usage scenarios for AzCopy

I often find info on Azure topics I need, tucked away in larger articles or books. As it gets difficult for me to fetch it the next time I need it, I like preserving (with attribution) the snippets & nuggets I find along the way  & adding my own annotations

Use cases for the AzCopy command line tool from the free ebook "Microsoft Azure Essentials - Fundamentals of Azure, second edition" -

AzCopy is a free tool provided by the Azure Storage team to move data around. The core use case is asynchronous server-side copies. When you copy blobs or files from one storage account to another, they are not downloaded from the first storage account to your local machine and then uploaded to the second storage account. The blobs and files are copied directly within Azure.

Here are some of the things you can do with AzCopy:
* Upload blobs from the local folder on a machine to Azure Blob storage.
*  Upload files from the local folder on a machine to Azure File storage.
*  Copy blobs from one container to another in the same storage account.
*  Copy blobs from one storage account to another, either in the same region or in a different region.
*  Copy files from one file share to another in the same storage account.
*  Copy files from one storage account to another, either in the same region or in a different region.
*  Copy blobs from one storage account to an Azure File share in the same storage account or in a different storage account.
*  Copy files from an Azure File share to a blob container in the same storage account or in a different storage account.
*  Export a table to an output file in JSON or CSV format. You can export this to blob storage.
*  Import the previously exported table data from a JSON file into a new table. (Note: It won’t import from a CSV file.)

Here are some other use cases:
*  You want to move your data from a classic storage account to a Resource Manager storage account. You can do this by using AzCopy, and then you can change your applications to point to the data in the new location.
* You want to move your data from general-purpose storage to cool storage. You would copy your blobs from the general-purpose storage account to the new Blob storage account, then delete the blobs from the original location.

Comments