Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AZCopy Lab Notes
SOURCE Storage Account
----------------------
Access Key -
URL -
DESTINATION Storage Account
----------------------------
Access Key -
URL -
UPLOAD A FILE
--------------
AzCopy /Source:C:\myfolder /Dest:<storageaccount1 URL>/labfiles /DestKey:key /Pattern:labfilename.txt
EXAMPLE:
AzCopy /Source:C:\Lab /Dest:https://backuplabstore1.blob.core.windows.net/labfiles /DestKey:GciLmx59HMFdSRysc9QdeEJw9NB4D4mwXjmj9LEM2ivtUFPZDQnPNhYUJAUAftTZth8hCmg+c4Q== /Pattern:LabAZCopyNotes.txt
COPY A VHD
------------
AzCopy /Source:<storageaccount1 URL>/vhds /Dest:<storageaccount2 URL>/vhds /SourceKey:your-key /DestKey:your-key2 /S
EXAMPLE:
AzCopy /Source:https://backuplabstore1.blob.core.windows.net/vhds /Dest:https://backuplabstore2.blob.core.windows.net/vhds /SourceKey:GciLmx59HMFdnS+QII5hm2cSRysc9QdeEJw9NB4D4mwXjmj9LEM2ivtUFPZDQnJAUAftTZth8hCmg+c4Q== /DestKey:omgISKynV7zGv8dCCkuwdlAz/3tG6z81A+wr0e8rqdx8/RPvJEj7nhmtoYze3w7NlAdmc8r8+d2/AOS1A== /S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.