Menu
Amazon Simple Storage Service
Console User Guide

How Do I Undelete a Deleted S3 Object?

If you are in the old Amazon S3 console, to use the new console, choose Opt In in the following box, which appears on the old Amazon S3 console home page. Note that Opt In is not available in all Regions.  


                            Opt-in to new Amazon S3 console UI

This section explains how to use the Amazon S3 console to recover (undelete) deleted objects.

To be able to undelete a deleted object, you must have had versioning enabled on the bucket that contains the object before the object was deleted. For information about enabling versioning, see How Do I Enable or Suspend Versioning for an S3 Bucket?.

You can undelete only an object that was deleted as the latest (current) version. You can't undelete a previous version of an object that has been deleted. For more information, see Object Versioning and Using Versioning in the Amazon Simple Storage Service Developer Guide.

To recover deleted objects from an S3 bucket

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. In the Bucket name list, choose the name of the bucket that you want to recover a deleted object from.

  3. Choose Deleted objects to see the objects that have been deleted from the bucket.

  4. Select the check box next to the object or objects that you want to recover, and then choose Undo delete from the More menu.

    If the object you want to recover is in a folder. Choose the name of the folder, select the object or objects that you want to recover, and then choose Undo delete from the More menu.

  5. On the Undo delete review page, verify that the objects that are listed are correct, and then choose Undo delete. Otherwise, choose Cancel and return to step 3.

On this page: