Last active
August 29, 2015 14:25
-
-
Save techbunny/4f9fa5258c807288f918 to your computer and use it in GitHub Desktop.
AZCopy Lab Notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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