AZCOPY for easier and faster download of files

Those of you who are familiar with the struggle of waiting hours for downloading a file from LCS (either for the Platform Update zip files or the Database backups from the Asset Library) can now benefit from the AzCopy app.

First things first and that means downloading the azcopy application which can be found here.

 

After downloading it, extract the zip file into the desired location (in my case is the “C:\” Drive)

 

Now, to use it we need first to open cmd from the folder where you’ve extracted the zip file (or open cmd and navigate to that folder)

The command that we are going to use is:

azcopy copy “<Source Destination>” “<Desired/Target Destination>” –recursive=true

Based on the command above we can see that we have two parameters which be changed based on our activity.

As an example, I am trying to download the PlatformUpdate package to my local VM and for that first, I’ve logged in to the LCS and picked up the desirable package from the AssetLibrary but only to get the download link which I’ll use in the command.

 

Now equipped with what we need we can modify the command to suit us:
*NOTE: Please look at the end of the second parameter. You can notice that I’ve named my file as “pu10_16.zip”. If you don’t specify the name and especially the type of file your downloading, the azopy will download it as type “file” and you don’t want that cause it will be of no use for you.

azcopy copy “https://uswedpl1catalog.blob.core.windows.net/product-navproductname/6567e2af-004a-4f7b-91a1-d41fcca4e095/NavProductName-22-10-6ffd92c1-b99d-4d62-9a2c-4f3278adc44d-6567e2af-004a-4f7b-91a1-d41fcca4e095?sv=2015-12-11&sr=b&sig=yTbGuo9taddUO%2FtpUzrr65XZkTE58O5rA9PEhU9dVjc%3D&se=2021-01-29T09%3A37%3A05Z&sp=r” “C:\Platform_Update\pu10_16.zip” –recursive=true

 

You can see that my 5GB were downloaded in less than 20 minutes (way faster than using the regular download). Satisfied with the results I can now continue with deploying the platfrom_update package to my local D365 VM.
If you need to do the same there is another blog regarding the installation of platform update packages on the following link.

 

If you are interested in optimizing/improving your business processes, making the experience while using the application a whole lot easier in the long run, having the data secured in the cloud at the same time, and in need for someone to upgrade your systems from Microsoft Dynamics AX to Dynamics 365, we are open for future collaboration.

Write us at sales@axaptamasters.com!

And if you are interested in potential career opportunities, check out our careers page.



Leave a Reply