How to move blob data between Storage Accounts using AZCopy

Share this:

In some situations, data from a Storage Account must be moved to a different Storage Account and we can use several options to accomplish this task, such as Azure Explorer, PowerShell and AZCopy utility.


In this Tutorial, we are going to use AZCopy which can be downloaded from here. Before going to the command prompt to use AZCopy we must gather two pieces of information of the source and destination Storage account.

We can always download the file and upload to the new Storage Account, however, that is not every efficient, the best way is to leverage the Azure backbone to copy the data from source to target.

In this Tutorial, we are going to copy a VHD file between Storage Accounts in different subscriptions, this process is important when you have several regions and you need to replicate your images across.

Both pieces information can be found at the same place, open the desired Storage Account and save the Storage Account Name and Key1.



The next step is to open command prompt (by default the AZCopy is installed on C:\Program Files (x86)\Microsoft SDKs\Azure\AZCopy, and execute the following command to copy a VHD file between Storage Accounts, keep in mind that the process will take some time to complete.

.\AzCopy.exe /Source: /Dest: /SourceKey:”keyXXX”  /DestKey:”DestinationKeyXX” /SyncCopy /s


Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at,, and Anderson (Portuguese).

Related Post

Microsoft Cloud – A couple of pages to help ... Cloud is the hot-topic in our industry nowadays and Microsoft has been delivering great products for this demand: the Window Server itself (the Cloud ...
How to extend Azure Service Fabric to on-premise? You can deploy a Service Fabric cluster on any physical or virtual machine running the Windows Server operating system, including ones residing in you...
Windows Azure and Office365 – Creating a Synchroni... After creating the Azure subscription and preparing the local Active Directory our next step is to create a service account in Windows Azure. This acc...
How to create a Virtual Network using Azure Resour... Configuring a Virtual Network and a VPN connection between Microsoft Azure and a local site using Azure Resource Manager deployment model. Solution ...