Will the objects be archived in glacier in this scenario?

0

Hello, I have a policy on s3 to archive on glacier all objects every day. I want to restore some files for 30 days. Will the objects be available for 30days or will be "stored in glacier" the next day?

I have restored the objects and 3 days later I see them that they are again in glacier. This could mean that I haven't send the correct requests to export them, or the policy has archived them on the next day.

Which one is true?

質問済み 1年前227ビュー
1回答
1

hi,

A restore operation makes a copy of the object available on it's bucket, where you can run the GET operation etc. After you receive a temporary copy of the restored object, the object's storage class remains S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive. So the lifecycle rules for transition, you specified above may not apply.

I propose to look at the expiry date on your restore call and make sure the details are correct - https://docs.aws.amazon.com/AmazonS3/latest/userguide/restoring-objects.html

To calculate the expiry date, Amazon S3 adds the number of days that you specify to the time that you request to restore the object, and then rounds to the next day at midnight UTC. This calculation applies to the initial restoration of the object and to any changes to availability that you request. For example, if an object was restored on October 15, 2012, at 10:30 AM UTC, and the number of days that you specified is 3, the object is available until October 19, 2012, at 00:00 UTC. If, on October 16, 2012, at 11:00 AM UTC, you change the number of days that you want the object to be accessible to 1, Amazon S3 makes the restored object available until October 18, 2012, at 00:00 UTC.

Hope this helps, Thanks Arun

AWS
Arun
回答済み 1年前
profile pictureAWS
エキスパート
kentrad
レビュー済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ