Skip to content

Commit b000766

Browse files
committed
Some updates for the AzCopy release
1 parent a84f32c commit b000766

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

articles/storage/common/storage-ref-azcopy-copy.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article provides reference information for the azcopy copy com
44
author: normesta
55
ms.service: storage
66
ms.topic: reference
7-
ms.date: 10/16/2019
7+
ms.date: 04/09/2020
88
ms.author: normesta
99
ms.subservice: common
1010
ms.reviewer: zezha-msft
@@ -164,6 +164,8 @@ Copy a subset of buckets by using a wildcard symbol (*) in the bucket name. Like
164164

165165
## Options
166166

167+
**--backup** Activates Windows' SeBackupPrivilege for uploads, or SeRestorePrivilege for downloads, to allow AzCopy to see read all files, regardless of their file system permissions, and to restore all permissions. Requires that the account running AzCopy already has these permissions (e.g. has administrator rights or is a member of the 'Backup Operators' group). All this flag does is activate privileges that the account already has.
168+
167169
**--blob-type** string Defines the type of blob at the destination. This is used for uploading blobs and when copying between accounts (default 'Detect'). Valid values include 'Detect', 'BlockBlob', 'PageBlob', and 'AppendBlob'. When copying between accounts, a value of 'Detect' causes AzCopy to use the type of source blob to determine the type of the destination blob. When uploading a file, 'Detect' determines if the file is a VHD or a VHDX file based on the file extension. If the file is ether a VHD or VHDX file, AzCopy treats the file as a page blob. (default "Detect")
168170

169171
**--block-blob-tier** string Upload block blobs directly to the [access tier](../blobs/storage-blob-storage-tiers.md) of your choice. (default 'None'). Valid values include 'None', 'Hot', 'Cool', and 'Archive'. If 'None' or no tier is passed, the blob will inherit the tier of the storage account.
@@ -218,6 +220,12 @@ Copy a subset of buckets by using a wildcard symbol (*) in the bucket name. Like
218220

219221
**--preserve-last-modified-time** Only available when destination is file system.
220222

223+
**--preserve-smb-permissions** string False by default. Preserves SMB ACLs between aware resources (Windows and Azure Files). For downloads, you will also need to use the `--backup` flag to restore permissions where the new Owner will not be the user that is running AzCopy. This flag applies to both files and folders, unless a file-only filter is specified (e.g. `include-pattern`).
224+
225+
**--preserve-smb-info** string False by default. Preserves SMB property info (last write time, creation time, attribute bits) between SMB-aware resources (Windows and Azure Files). Only the attribute bits supported by Azure Files will be transferred; any others will be ignored. This flag applies to both files and folders, unless a file-only filter is specified (e.g. include-pattern). The information transferred for folders is the same as that for files, except for Last Write Time which is never preserved for folders.
226+
227+
**--preserve-owner** Only has an effect in when downloading data, and only when the `--preserve-smb-permissions` is used. If true (the default), the file Owner and Group are preserved in downloads. If this flag is set to false, `--preserve-smb-permissions` will still preserve ACLs but Owner and Group will be based on the user that is running AzCopy.
228+
221229
**--put-md5** Create an MD5 hash of each file, and save the hash as the Content-MD5 property of the destination blob or file. (By default the hash is NOT created.) Only available when uploading.
222230

223231
**--recursive** Look into sub-directories recursively when uploading from local file system.

articles/storage/common/storage-use-azcopy-files.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Transfer data with AzCopy and file storage.
44
author: normesta
55
ms.service: storage
66
ms.topic: conceptual
7-
ms.date: 04/01/2020
7+
ms.date: 04/09/2020
88
ms.author: normesta
99
ms.subservice: common
1010
---
@@ -45,8 +45,8 @@ This section contains the following examples:
4545
>
4646
> |Scenario|Flag|
4747
> |---|---|
48-
> |Copy access control lists (ACLs) along with the files.|**--persist-smb-permission**=\[true\|false\]|
49-
> |Copy SMB property information along with the files.|**--persist-smb-info**=\[true\|false\]|
48+
> |Copy access control lists (ACLs) along with the files.|**--preserve-smb-permissions**=\[true\|false\]|
49+
> |Copy SMB property information along with the files.|**--preserve-smb-info**=\[true\|false\]|
5050
> |Upload files as Append Blobs or Page Blobs.|**--blob-type**=\[BlockBlob\|PageBlob\|AppendBlob\]|
5151
> |Upload to a specific access tier (such as the archive tier).|**--block-blob-tier**=\[None\|Hot\|Cool\|Archive\]|
5252
>
@@ -140,8 +140,8 @@ This section contains the following examples:
140140
>
141141
> |Scenario|Flag|
142142
> |---|---|
143-
> |Copy access control lists (ACLs) along with the files.|**--persist-smb-permission**=\[true\|false\]|
144-
> |Copy SMB property information along with the files.|**--persist-smb-info**=\[true\|false\]|
143+
> |Copy access control lists (ACLs) along with the files.|**--preserve-smb-permissions**=\[true\|false\]|
144+
> |Copy SMB property information along with the files.|**--preserve-smb-info**=\[true\|false\]|
145145
> |Automatically decompress files.|**--decompress**=\[gzip\|deflate\]|
146146
>
147147
> For a complete list, see [options](storage-ref-azcopy-copy.md#options).
@@ -226,8 +226,8 @@ This section contains the following examples:
226226
>
227227
> |Scenario|Flag|
228228
> |---|---|
229-
> |Copy access control lists (ACLs) along with the files.|**--persist-smb-permission**=\[true\|false\]|
230-
> |Copy SMB property information along with the files.|**--persist-smb-info**=\[true\|false\]|
229+
> |Copy access control lists (ACLs) along with the files.|**--preserve-smb-permissions**=\[true\|false\]|
230+
> |Copy SMB property information along with the files.|**--preserve-smb-info**=\[true\|false\]|
231231
> |Copy files as Append Blobs or Page Blobs.|**--blob-type**=\[BlockBlob\|PageBlob\|AppendBlob\]|
232232
> |Copy to a specific access tier (such as the archive tier).|**--block-blob-tier**=\[None\|Hot\|Cool\|Archive\]|
233233
>

0 commit comments

Comments
 (0)