Skip to content

--blob-tags does not set blob index tags when copying from S3 #2025

Open
@finalgrrrl

Description

@finalgrrrl

Which version of the AzCopy was used?

Note: The version is visible when running AzCopy without any argument
❯ azcopy --version
azcopy version 10.16.2

Which platform are you using? (ex: Windows, Mac, Linux)

❯ sw_vers
ProductName:	macOS
ProductVersion:	12.6
BuildVersion:	21G115

What command did you run?

Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
azcopy copy 'https://s3-us-east-1.amazonaws.com/bucketname/object.txt' 'https://storageaccountname.blob.core.windows.net/containername/object.txt' --blob-tags='foo=bar'

What problem was encountered?

When attempting to migrate files from S3 to Azure, the file is copied successfully but no index tags appear to be set. Nothing I found in the docs for either copying from S3 or for adding index tags while copying seemed to indicate this was not supported when copying service-to-service. Sorry if it's not supported and I missed it! Even if that's the case, this would be a nice feature for migrating from one storage service to another.

How can we reproduce the problem in the simplest way?

  • Put an object in a bucket on S3
  • Using azcopy, copy that object to an existing container and specify the --blob-tags argument per the documentation for azcopy copy
  • Confirm index tags are not present on the copied blob

Have you found a mitigation/solution?

Only option I can think of is to manually follow each copy with a call via the az CLI or whatever client I'm using.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions