Restore a Backup - EFS-to-EFS Backup Solution

Restore a Backup

When the EFS-to-EFS backup solution creates a backup, the solution labels the backup with the Interval Label you specify during deployment and a number to identify the backup. For example, if you choose daily as your Interval Label, your backups will be named daily.0, daily.1, daily.2, etc. The most recent backup will be daily.0.

To restore an Amazon Elastic File System (Amazon EFS) file system, identify the Interval Label and the number of the backup you want to restore and complete the following procedure.

  1. Sign in to the AWS Management Console and click the button below to launch the efs-to-efs-restore AWS CloudFormation template.

                                Launch restore template for EFS backup solution stack

    You can also download the template as a starting point for your own implementation.

  2. The template is launched in the US East (N. Virginia) Region by default. To launch the solution in a different AWS Region, use the region selector in the console navigation bar.

  3. On the Select Template page, verify that you selected the correct template and choose Next.

  4. On the Specify Details page, specfy a name for your solution stack.

  5. Under Parameters, review the parameters for the template, and modify them as necessary. This solution uses the following default values.

    Parameter Default Description
    Source EFS <Requires input> The source Amazon EFS file system ID
    Backup EFS <Requires input> The backup Amazon EFS file system ID
    Interval Label daily The tag that identifies the backup you want to restore. The tag must match the tag you chose for Interval Label during deployment. For example, if you chose daily during deployment, choose daily for this parameter.
    Backup Number 0 The number of the backup you want to restore. The most recent backup is 0.
    Folder Label efs-backup The folder name for your backups

    The folder name must match the folder name you specified in the Folder Label parameter for the efs-to-efs-backup template.

    Restore Prefix / The source prefix for the restored file system

    If you backed up a subdirectory, enter the subdirectory for this parameter. For example, enter /appdata for your appdata backup.

    Restore Subdirectory / The subdirectory you want to restore. For example, /<directory-name>/

    You must enter the trailing “/”.

    Restore Log Bucket <Requires input> The Amazon S3 bucket to store logs. We recommend you use the bucket that stores your backup logs.
    Subnet IDs <Requires input> Comma-delimited list of two subnet IDs for the Auto Scaling group.

    The subnets must be in the same Availability Zones as the source and backup file system mount targets.

    VPC ID <Requires input> The virtual private cloud (VPC) ID where the source and backup Amazon EFS file systems are located
    Security Group ID <Requires input> The security group ID of an existing Amazon EC2 security group in your VPC to provide access to your existing Amazon EFS file system
    Email <Requires input> The email address to subscribe to Amazon SNS notifications
    Dashboard Yes Choose whether to create a dashboard for metrics
  6. Choose Next.

  7. On the Options page, choose Next.

  8. On the Review page, review and confirm the settings. Be sure to check the box acknowledging that the template will create AWS Identity and Access Management (IAM) resources.

  9. Choose Create to deploy the stack.

    You can view the status of the stack in the AWS CloudFormation console in the Status column. You should see a status of CREATE_COMPLETE in approximately five minutes.

    When your Amazon EFS file system is restored to the backup, the solution sends an Amazon Simple Notification Service (Amazon SNS) notification.