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.

질문됨 일 년 전266회 조회
1개 답변
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

답변함 일 년 전

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

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

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

관련 콘텐츠