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
posta un anno fa111 visualizzazioni
1 Risposta
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
TECNICO DI SUPPORTO
Ipsha
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande