S3 restore from Glacier Deep Storage seems hung.

0

I have approx 100k files that I initiated a restore from Glacier Deep. The files now show both "This object is stored in the Glacier Deep Archive storage class In order to access it you must first restore it." AND "Restoration status Completed Restoration expiry date April 22, 2023, 20:00:00 (UTC-04:00)". I cannot copy the files to another S3 bucket as I get "warning: Skipping file s3://FILE_NAME. Object is of storage class GLACIER. Unable to perform copy operations on GLACIER objects. You must restore the object to be able to perform the operation." It has been over 24 hours since the restoration began.

asked a year ago239 views
1 Answer
0

Hi, If you are restoring with GLACIER bulk retrieval.. it takes around 48 hrs to retrieve all the files completely. You can probably check with headObject api call on respective object to know about the object restoration status. If the object restoration is in progress, the header returns the value ongoing-request="true". Else it will be "false". You can copy the "false" value objects to another bucket. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3/client/head_object.html

answered a year 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