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.

gefragt vor einem Jahr266 Aufrufe
1 Antwort
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

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen