You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/common/storage-reference-azcopy-map-commands-to-rest-operations.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ The following table shows the operations that are used by each AzCopy command. T
54
54
|[azcopy copy](https://github.com/Azure/azure-storage-azcopy/wiki/azcopy_copy)| Copy to another container |[List Blobs](/rest/api/storageservices/list-blobs), and [Copy Blob](/rest/api/storageservices/copy-blob). if --preserve-permissions-true, then [Path - Get Properties](/rest/api/storageservices/datalakestoragegen2/path/get-properties) (Get Access Control List) and [Path - Update](/rest/api/storageservices/datalakestoragegen2/path/update) (Set access control) otherwise, [Get Blob Properties](/rest/api/storageservices/get-blob-properties). |
55
55
|[azcopy sync](https://github.com/Azure/azure-storage-azcopy/wiki/azcopy_sync)| Update local with changes to container |[List Blobs](/rest/api/storageservices/list-blobs), [Get Blob Properties](/rest/api/storageservices/get-blob-properties), and [Get Blob](/rest/api/storageservices/get-blob)|
56
56
|[azcopy sync](https://github.com/Azure/azure-storage-azcopy/wiki/azcopy_sync)| Update container with changes to local file system |[List Blobs](/rest/api/storageservices/list-blobs), [Get Blob Properties](/rest/api/storageservices/get-blob-properties), [Path - Update](/rest/api/storageservices/datalakestoragegen2/path/update) (Append), and [Path - Update](/rest/api/storageservices/datalakestoragegen2/path/update) (Flush)|
|[azcopy sync](https://github.com/Azure/azure-storage-azcopy/wiki/azcopy_sync)| Synchronize containers |[List Blobs](/rest/api/storageservices/list-blobs), [Get Blob Properties](/rest/api/storageservices/get-blob-properties), and [Put Blob From URL](/rest/api/storageservices/put-blob-from-url). Based on object size, could also be [Put Block From URL](/rest/api/storageservices/put-block-from-url) and [Put Block List](/rest/api/storageservices/put-block-list).|
58
58
|[azcopy set-properties](https://github.com/Azure/azure-storage-azcopy/wiki/azcopy_set-properties)| Set blob tier | Not supported |
59
59
|[azcopy set-properties](https://github.com/Azure/azure-storage-azcopy/wiki/azcopy_set-properties)| Set metadata | Not supported |
60
60
|[azcopy set-properties](https://github.com/Azure/azure-storage-azcopy/wiki/azcopy_set-properties)| Set blob tags | Not supported |
## Update a container with changes in another container by using a SAS token
112
+
113
+
The first container that appears in this command is the source. The second one is the destination.
114
+
115
+
If you provide a SAS token, make sure that you use a SAS token which corresponds to source and destination storage account, while using **azcopy sync**.
> If you are copying larger size of data, you can use :[Azure Storage Explorer](https://azure.microsoft.com/products/storage/storage-explorer).
129
+
>
130
+
> Verify size details that you have copied. On the top bar menu, choose **More** -> **Folder Statistics** to help you get the details of the Directory including the size in bytes.
131
+
132
+
111
133
## Synchronize with optional flags
112
134
113
135
You can tweak your sync operation by using optional flags. Here's a few examples.
@@ -117,6 +139,9 @@ You can tweak your sync operation by using optional flags. Here's a few examples
117
139
|Specify how strictly MD5 hashes should be validated when downloading.|**--check-md5**=\[NoCheck\|LogOnly\|FailIfDifferent\|FailIfDifferentOrMissing\]|
118
140
|Exclude files based on a pattern.|**--exclude-path**|
119
141
|Specify how detailed you want your sync-related log entries to be.|**--log-level**=\[WARNING\|ERROR\|INFO\|NONE\]|
142
+
|Specify how to copy a vhd file.|**--blob-type=BlockBlob --include-pattern "*.vhd"** or **--blob-type=BlockBlob**|
143
+
144
+
120
145
121
146
For a complete list of flags, see [options](storage-ref-azcopy-sync.md#options).
0 commit comments