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
asked a year ago102 views
1 Answer
1

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
SUPPORT ENGINEER
Ipsha
answered 23 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions