Restored Glacier object cannot be copied

0

I need advice on why an object that has been successfully restored from Glacer can't be copied or have the ability to transition back to a S3 storage class. I'm not expecing to have to downlod and re-upload the object as I didn't have to do this last time.

Snippet from S3 console

I need to restore objects to trigger sync to a second AWS region and change the storage class to Gacier Deep Archive.

eljest
已提问 1 年前111 查看次数
1 回答
2

Copying restored objects isn't supported in the Amazon S3 console, as also mentioned here - https://docs.aws.amazon.com/AmazonS3/latest/userguide/restoring-objects.html For this type of copy operation, use the AWS Command Line Interface (AWS CLI), the AWS SDKs, or the REST API. To change the object's storage class to Amazon S3 Standard, use copy. To perform a recursive copy for an entire prefix and overwrite existing objects with the Amazon S3 Standard storage class, run the following command: aws s3 cp s3://awsexamplebucket/dir1/ s3://awsexamplebucket/dir1/ --storage-class STANDARD --recursive --force-glacier-transfer Ref: https://repost.aws/knowledge-center/restore-s3-object-glacier-storage-class

AWS
支持工程师
Ipsha
已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则