Skip to content

How do I use restore tiers in the Amazon S3 console to restore archived objects from S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive?

2 minute read
0

I want to use the restore tiers in the Amazon Simple Storage Service (Amazon S3) console to restore objects.

Resolution

Note: If you receive errors when you run AWS Command Line Interface (AWS CLI) commands, then see Troubleshooting errors for the AWS CLI. Also, make sure that you're using the most recent AWS CLI version.

You can use a lifecycle rule to archive Amazon S3 objects to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive. If you archived objects this way, then you have retrieval options to restore them: expedited retrieval, standard retrieval, and bulk retrieval. To restore an archived object with the Amazon S3 console, choose a restore method that meets your needs:

  1. Open the Amazon S3 console.
  2. Choose the S3 bucket that contains the archived objects that you want to restore.
  3. Select the archived object, and then choose Actions.
  4. Select Initiate restore, and then specify the number of days that you want the restored file to be accessible for.
  5. Select a Retrieval option: bulk, standard, or expedited. Then, choose Restore.

Note: Expedited retrievals aren't available for S3 Glacier Deep Archive.

After the restoration completes, you can download the restored object from the Amazon S3 console. The restore time depends on the storage class and retrieval option. See Understanding archive retrieval options for more information.

To confirm that the object restored successfully, complete the following steps:

  1. Open the Amazon S3 console.
  2. Choose the S3 bucket that contains the object.
  3. Choose the object name.
  4. On the object's overview page, check that the Restoration expiry date shows that you restored the file. The expiration date is when Amazon S3 removes the restored copy of the object.
  5. Choose Download. This downloads the object as a file to your local client.
  6. (Optional) To make the restoration permanent, use the AWS CLI to perform a copy operation to overwrite the object with the Amazon S3 Standard storage class. For more information, see How can I use the AWS CLI to restore an Amazon S3 object from the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage class?

Related information

Understanding S3 Glacier storage classes for long-term data storage

Restoring an archived object

AWS OFFICIALUpdated 4 months ago