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
질문됨 일 년 전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
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠