Skip to content

Commit 8cffa93

Browse files
committed
Fixing some validation issues
1 parent e01fde1 commit 8cffa93

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ Upload files and directories to Azure Storage account and set the query-string e
9191
- To set tags {key = "bla bla", val = "foo"} and {key = "bla bla 2", val = "bar"}, use the following syntax:
9292
- `azcopy cp "/path/*foo/*bar*" "https://[account].blob.core.windows.net/[container]/[path/to/directory]?[SAS]" --blob-tags="bla%20bla=foo&bla%20bla%202=bar"`
9393
- Keys and values are URL encoded and the key-value pairs are separated by an ampersand('&')
94-
- https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-index-how-to?tabs=azure-portal
9594
- While setting tags on the blobs, there are additional permissions('t' for tags) in SAS without which the service will give authorization error back.
9695

9796
Download a single file by using OAuth authentication. If you haven't yet logged into AzCopy, please run the azcopy login command before you run the following command.
@@ -177,7 +176,7 @@ Copy a subset of buckets by using a wildcard symbol (*) in the bucket name. Like
177176
`azcopy cp "https://s3.amazonaws.com/[bucket*name]/" "https://[destaccount].blob.core.windows.net?[SAS]" --recursive=true`
178177

179178
Copy blobs from one blob storage to another and preserve the tags from source. To preserve tags, use the following syntax:
180-
179+
181180
`azcopy cp "https://[account].blob.core.windows.net/[source_container]/[path/to/directory]?[SAS]" "https://[account].blob.core.windows.net/[destination_container]/[path/to/directory]?[SAS]" --s2s-preserve-blob-tags=true`
182181

183182
Transfer files and directories to Azure Storage account and set the given query-string encoded tags on the blob.
@@ -188,8 +187,6 @@ Transfer files and directories to Azure Storage account and set the given query-
188187

189188
- Keys and values are URL encoded and the key-value pairs are separated by an ampersand('&')
190189

191-
- https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-index-how-to?tabs=azure-portal
192-
193190
- While setting tags on the blobs, there are additional permissions('t' for tags) in SAS without which the service will give authorization error back.
194191

195192
Copy a single object to Blob Storage from Google Cloud Storage (GCS) by using a service account key and a SAS token. First, set the environment variable GOOGLE_APPLICATION_CREDENTIALS for GCS source.
@@ -204,11 +201,11 @@ Copy an entire bucket to Blob Storage from Google Cloud Storage (GCS) by using a
204201

205202
`azcopy cp "https://storage.cloud.google.com/[bucket]" "https://[destaccount].blob.core.windows.net/?[SAS]" --recursive=true`
206203

207-
Copy all buckets to Blob Storage from Google Cloud Storage (GCS) by using a service account key and a SAS token. First, set the environment variables GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_CLOUD_PROJECT=<project-id> for GCS source
204+
Copy all buckets to Blob Storage from Google Cloud Storage (GCS) by using a service account key and a SAS token. First, set the environment variables GOOGLE_APPLICATION_CREDENTIALS and `GOOGLE_CLOUD_PROJECT=<project-id>` for GCS source
208205

209206
`azcopy cp "https://storage.cloud.google.com/" "https://[destaccount].blob.core.windows.net/?[SAS]" --recursive=true`
210207

211-
Copy a subset of buckets by using a wildcard symbol (*) in the bucket name from Google Cloud Storage (GCS) by using a service account key and a SAS token for destination. First, set the environment variables GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_CLOUD_PROJECT=<project-id> for GCS source
208+
Copy a subset of buckets by using a wildcard symbol (*) in the bucket name from Google Cloud Storage (GCS) by using a service account key and a SAS token for destination. First, set the environment variables `GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_CLOUD_PROJECT=<project-id>` for GCS source
212209

213210
`azcopy cp "https://storage.cloud.google.com/[bucket*name]/" "https://[destaccount].blob.core.windows.net/?[SAS]" --recursive=true`
214211

@@ -312,7 +309,7 @@ Copy a subset of buckets by using a wildcard symbol (*) in the bucket name from
312309

313310
`--s2s-handle-invalid-metadata` (string) Specifies how invalid metadata keys are handled. Available options: ExcludeIfInvalid, FailIfInvalid, RenameIfInvalid. (default 'ExcludeIfInvalid'). (default "ExcludeIfInvalid")
314311

315-
`--s2s-preserve-access-tier` Preserve access tier during service to service copy. Refer to [Azure Blob storage: hot, cool, and archive access tiers](https://docs.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers) to ensure destination storage account supports setting access tier. In the cases that setting access tier isn't supported, make sure to use s2sPreserveAccessTier=false to bypass copying access tier. (default true). (default true)
312+
`--s2s-preserve-access-tier` Preserve access tier during service to service copy. Refer to [Azure Blob storage: hot, cool, and archive access tiers](/azure/storage/blobs/storage-blob-storage-tiers) to ensure destination storage account supports setting access tier. In the cases that setting access tier isn't supported, make sure to use s2sPreserveAccessTier=false to bypass copying access tier. (default true). (default true)
316313

317314
`--s2s-preserve-blob-tags` Preserve index tags during service to service transfer from one blob storage to another
318315

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Note: if include and exclude flags are used together, only files matching the in
138138

139139
`--recursive` True by default, look into sub-directories recursively when syncing between directories. (default true). (default true)
140140

141-
`--s2s-preserve-access-tier` Preserve access tier during service to service copy. Please refer to [Azure Blob storage: hot, cool, and archive access tiers](https://docs.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers) to ensure destination storage account supports setting access tier. In the cases that setting access tier is not supported, please use s2sPreserveAccessTier=false to bypass copying access tier. (default true). (default true)
141+
`--s2s-preserve-access-tier` Preserve access tier during service to service copy. Please refer to [Azure Blob storage: hot, cool, and archive access tiers](../blobs/storage-blob-storage-tiers.md) to ensure destination storage account supports setting access tier. In the cases that setting access tier is not supported, please use `s2sPreserveAccessTier=false` to bypass copying access tier. (default true). (default true)
142142

143143
`--s2s-preserve-blob-tags` Preserve index tags during service to service sync from one blob storage to another
144144

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ ms.reviewer: zezha-msft
1212

1313
# azcopy
1414

15-
AzCopy 10.15.0
16-
Project URL: [github.com/Azure/azure-storage-azcopy](github.com/Azure/azure-storage-azcopy)
15+
Current version: 10.15.0
1716

1817
AzCopy is a command-line tool that moves data into and out of Azure Storage. See the [Get started with AzCopy](storage-use-azcopy-v10.md) article to download AzCopy and learn about the ways that you can provide authorization credentials to the storage service.
1918

0 commit comments

Comments
 (0)