Write up the S3 restoration procedure