Copying data by using AzCopy
AzCopy is a utility that can be used for copying files to and from Azure Storage accounts. Authentication can be conducted using either an Active Directory account or a SAS token from storage. AzCopy provides many different functions, but the primary function is for file copying and is structured as azcopy copy [source] [destination] [flags]
.
Downloading and installing
You can download AzCopy from here: https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10.
In this exercise, you will copy data to your Azure blob using a SAS token:
- Download and install the relevant AzCopy installer from the preceding link.
- Extract the files from the archive you downloaded and place them in a location that suits you, such as
C:\AzCopy
. - Launch PowerShell, navigate to the folder using the
cd
command, and press Enter.
You now have a copy of AzCopy...