CopyPastor

Detecting plagiarism made easy.

Score: 1.7530316710472107; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Plagiarized on 2019-01-30
by Mohit Verma - MSFT

Original Post

Original - Posted on 2015-11-16
by Hafiz Arslan



            
Present in both answers; Present only in the new answer; Present only in the old answer;

AzCopy is a command-line utility designed for copying data to/from Microsoft Azure Blob, File, and Table storage, using simple commands designed for optimal performance. You can copy data between a file system and a storage account, or between storage accounts.
**Note**:- You can download Azcopy for windows from mentioned [link][1]
For copying one blob from one storage account to different storage account conatiner you could user something like below :
<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-js -->
AzCopy /Source:https://sourceaccount.blob.core.windows.net/mycontainer1 /Dest:https://destaccount.blob.core.windows.net/mycontainer2 /SourceKey:key1 /DestKey:key2 /Pattern:abc.txt
<!-- end snippet -->
Copy all blobs in a container to another storage account
<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-js -->
AzCopy /Source:https://sourceaccount.blob.core.windows.net/mycontainer1 /Dest:https://destaccount.blob.core.windows.net/mycontainer2 /SourceKey:key1 /DestKey:key2 /S
<!-- end snippet -->

[1]: https://aka.ms/downloadazcopy
Example i have given are for windows platform , similar operation you can perform on Linux too. Let me know if you need any help on this.
Its very simple with AzCopy. Download latest version from [https://azure.microsoft.com/en-us/documentation/articles/storage-use-azcopy/][1] and in azcopy type: Copy a blob within a storage account:
AzCopy /Source:https://myaccount.blob.core.windows.net/mycontainer1 /Dest:https://myaccount.blob.core.windows.net/mycontainer2 /SourceKey:key /DestKey:key /Pattern:abc.txt
Copy a blob across storage accounts:
AzCopy /Source:https://sourceaccount.blob.core.windows.net/mycontainer1 /Dest:https://destaccount.blob.core.windows.net/mycontainer2 /SourceKey:key1 /DestKey:key2 /Pattern:abc.txt
Copy a blob from the secondary region
If your storage account has read-access geo-redundant storage enabled, then you can copy data from the secondary region.
Copy a blob to the primary account from the secondary:
AzCopy /Source:https://myaccount1-secondary.blob.core.windows.net/mynewcontainer1 /Dest:https://myaccount2.blob.core.windows.net/mynewcontainer2 /SourceKey:key1 /DestKey:key2 /Pattern:abc.txt
[1]: https://azure.microsoft.com/en-us/documentation/articles/storage-use-azcopy/

        
Present in both answers; Present only in the new answer; Present only in the old answer;