The new Azure Storage data transfer utility - AzCopy v10
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
AzCopy v10 is a command-line utility that you can use to copy data to and from containers and file shares in Azure Storage accounts. AzCopy V10 presents easy-to-use commands that are optimized for performance.
:whitecheckmark: Use with storage accounts that have a hierarchical namespace (Azure Data Lake Storage Gen2).
:whitecheckmark: Create containers and file shares.
:whitecheckmark: Upload files and directories.
:whitecheckmark: Download files and directories.
:whitecheckmark: Copy containers, directories and blobs between storage accounts (Blobs only).
:whitecheckmark: Synchronize containers with local file systems and visa versa (Blobs only).
:whitecheckmark: Copy objects, directories, and buckets from Amazon Web Services (AWS) (Blobs only).
:whitecheckmark: List files in a container (Blobs only).
:whitecheckmark: Remove files from a container (Blobs only).
:whitecheckmark: Recover from failures by restarting previous jobs.
For complete guidance, visit any of these articles on the docs.microsoft.com website.
:eightspokedasterisk: Get started with AzCopy (download links here)
:eightspokedasterisk: Transfer data with AzCopy and blob storage
:eightspokedasterisk: Transfer data with AzCopy and file storage
:eightspokedasterisk: Transfer data with AzCopy and Amazon S3 buckets
:eightspokedasterisk: Configure, optimize, and troubleshoot AzCopy
For convenience, consider adding the AzCopy directory location to your system path for ease of use. That way you can type
azcopyfrom any directory on your system.
To see a list of commands, type
azcopy -hand then press the ENTER key.
To learn about a specific command, just include the name of the command (For example:
azcopy list -h).
If you choose not to add AzCopy to your path, you'll have to change directories to the location of your AzCopy executable and type
.\azcopyin Windows PowerShell command prompts.
copycommand is a simple transferring operation, it scans the source and attempts to transfer every single file/blob. The supported source/destination pairs are listed in the help message of the tool. On the other hand,
syncmakes sure that whatever is present in the source will be replicated to the destination. If your goal is to simply move some files, then
copyis definitely the right command, since it offers much better performance.
sync, last modified times are used to determine whether to transfer the same file present at both the source and the destination. If the use case is to incrementally transfer data then
syncis the better choice, since only the modified/missing files are transferred.
copyoverwrite my files?
By default, AzCopy will overwrite the files at the destination if they already exist. To avoid this behavior, please use the flag
By default, the 'sync' command doesn't delete files in the destination unless you use an optional flag with the command. To learn more, see Synchronize files.
The latest binary install for AzCopy along with installation instructions may be found here.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.