Once you apply
Object Lifecycle rules
for S3 Objects (Files) transition to Glacier
, S3 Objects with
GLACIER Storage class type
are shown in the S3 Bucket Listing, but are not available to access real time. Before using these Glacier Storage Class Type objects, you must restore these Objects to the Amazon S3. Amazon S3 restores Object as a temporary copy for a limited period and then deletes the temporary copy after that period.
You can restore an Archived Object by sending the POST Request either using Amazon S3 API POST Object restore OR using Bucket Explorer User Interface. To use Amazon S3 API, you will need to write your own software program, however, if you do not want to write your program, you can use Bucket Explorer User Interface to restore an Archived Object using mouse clicks.
The below two sections describe how you can Restore an Archived Object using the POST Object restore request in your code or using Bucket Explorer.
1. Restore an Archived Object using REST API- POST Object Restore
To authenticate the request, you need to have s3.RestoreObject permissions on the specified Object. To restore a temporary copy of an archived object, you can request POST Object restore. You also need to specify the number of days for the restored copy to exist. To know about Object that it is already requested for restore or already restored, you can send a HEAD request that will return the x-amz-restore header with information on the restoration status.
2. Restore an Archived Object using Bucket Explorer
Bucket Explorer allows you to restore single Glacier object as well as multiple objects within a single queue. Every restore request for glacier object may take 3-5 hours to restore.
How to restore Amazon Glacier Object using Bucket Explorer:
Connect to your AWS S3 Account using Bucket Explorer.
Select the S3 Bucket from bucket table.
List objects in object table
You will find GLACIER objects in
(like RRS objects in
Select the GLACIER objects (if you selected other objects too then it will ignore the standard objects for restore request)
Go To Advanced -> Restore Glacier Object
It will prompt you quick comparer panel
Set the setting for queue. If you checked the Restore Glacier Objects option then you can mention number of days for it to be restored ?
Click Start button
It will Start queue to restore objects
Finally you will get queue statistics when queue get finished.
Restoration process may takes time for 3-5 hours.
You can configure Bucket Explorer so that, if you select any Glacier Objects for Download/Copy/Move Request, Bucket Explorer will skip processing that request for such items, or will request to restore those items.
How to get restore statistics :
Bucket Explorer allows you to view the status of the Glacier Objects, which you restore using Bucket Explorer. You will find the status is Going-On/Restored.
Go To Tools -> Advanced -> Restore Statistics
Now you can select the particular item and get it status