Skip to content

Instantly share code, notes, and snippets.

@techbunny
Last active August 29, 2015 14:25
Show Gist options
  • Select an option

  • Save techbunny/4f9fa5258c807288f918 to your computer and use it in GitHub Desktop.

Select an option

Save techbunny/4f9fa5258c807288f918 to your computer and use it in GitHub Desktop.

Revisions

  1. techbunny revised this gist Jul 17, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -14,11 +14,11 @@ UPLOAD A FILE
    AzCopy /Source:C:\myfolder /Dest:<storageaccount1 URL>/labfiles /DestKey:key /Pattern:labfilename.txt

    EXAMPLE:
    AzCopy /Source:C:\Lab /Dest:https://backuplabjkc.blob.core.windows.net/labfiles /DestKey:GciLmx59HMFdSRysc9QdeEJw9NB4D4mwXjmj9LEM2ivtUFPZDQnPNhYUJAUAftTZth8hCmg+c4Q== /Pattern:LabAZCopyNotes.txt
    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://backuplabjkc.blob.core.windows.net/vhds /Dest:https://backuplabjkc3.blob.core.windows.net/vhds /SourceKey:GciLmx59HMFdnS+QII5hm2cSRysc9QdeEJw9NB4D4mwXjmj9LEM2ivtUFPZDQnJAUAftTZth8hCmg+c4Q== /DestKey:omgISKynV7zGv8dCCkuwdlAz/3tG6z81A+wr0e8rqdx8/RPvJEj7nhmtoYze3w7NlAdmc8r8+d2/AOS1A== /S
    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
  2. techbunny created this gist Jul 17, 2015.
    24 changes: 24 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    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://backuplabjkc.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://backuplabjkc.blob.core.windows.net/vhds /Dest:https://backuplabjkc3.blob.core.windows.net/vhds /SourceKey:GciLmx59HMFdnS+QII5hm2cSRysc9QdeEJw9NB4D4mwXjmj9LEM2ivtUFPZDQnJAUAftTZth8hCmg+c4Q== /DestKey:omgISKynV7zGv8dCCkuwdlAz/3tG6z81A+wr0e8rqdx8/RPvJEj7nhmtoYze3w7NlAdmc8r8+d2/AOS1A== /S