Restore S3 folder quickly

Pritesh Patel
Sep 10, 2021
Photo by Maksym Kaharlytskyi on Unsplash

S3 allow you to restore file by deleting “DeleteMarkers” but if you need to restore entire folder is painful since you need to go one by one file and restore it or use some paid tool.

Here is quickest way to restore folder without installing any tool and right from AWS login.

Visit below URL to run AWS CLI tool on AWS account which will let you run command.

https://console.aws.amazon.com/cloudshell

Once terminal available, run below command and make sure you replace two variables (YOUR_BUCKET_NAME and folder/to/restore).

--

--

Pritesh Patel

Father + Husband + Software Engineer. :) Love coding with coldfusion, listening music when tense.