Steps to perform single file recovery from ec2 instance backup

0

I deleted one file in EC2 instance but backup we have AWS backup in place for that EC2 instance, please let me know the steps to perform the restore of that single file alone on that EC2 instance on same directory

asked 10 days ago49 views
1 Answer
1

Hello.

Create a volume from the snapshot taken with AWS Backup and mount it on EC2.
https://docs.aws.amazon.com/ebs/latest/userguide/ebs-creating-volume.html#ebs-create-volume-from-snapshot
https://docs.aws.amazon.com/ebs/latest/userguide/ebs-attaching-volume.html

Once you mount the EBS volume restored from the snapshot on EC2, you can restore the file by copying the data.
https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html

The flow of steps is as described in the document below.
https://docs.aws.amazon.com/prescriptive-guidance/latest/backup-recovery/restore.html

  1. First, restore the volume from the EBS snapshot that contains the files or directories.
  2. Attach the volume to the EC2 instance to which you want to restore the files.
  3. Copy the files from the restored volume to your EC2 instance volume.
  4. Detach and delete the restored volume.
profile picture
EXPERT
answered 10 days ago
profile pictureAWS
EXPERT
iBehr
reviewed 10 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions