I need to move vhds from one subscription to other. I would like to know which one is better option for the same: Start-AzureStorageBlobCopy
or AzCopy
In most scenarios, AzCopy
is likely to be quicker than Start-AzureStorageBlobCopy
due to way you would initiate the copy resulting in fewer calls to Azure API:
AzCopy
]1 call for whole container (regardless of blob count)vs
Start-AzureStorageBlobCopy
] N number of calls due to number of blobs in container.Initially I thought it would be same as both appear to trigger same asynchronous copies on Azure side, however on client side this would be directly visible as @Evgeniy has found in his answer.
In 1 blob in container scenario, theoretically both commands would complete at same time.
*EDIT (possible workaround): I was able to decrease my time tremendously by:
-ConcurrentTaskCount
switch, set to 100 in my case. Cut it down to under 5 minutes now.