What does this AWS Solution do?

Many Amazon Web Services (AWS) customers who use Amazon Elastic File System (Amazon EFS), a highly available and durable file storage service, choose to implement a backup solution to be able to recover from unintended changes or deletions to their file systems.

AWS offers an easy-to-deploy EFS-to-EFS backup solution that automatically creates incremental backups of an Amazon EFS file system on a customer-defined schedule.

This webpage provides an overview of the EFS-to-EFS backup solution's design and functionality.

AWS Solution overview

AWS offers an easy-to-deploy solution that allows you to automatically back up Amazon EFS file systems. The diagram below presents the components and functionality you can build using the EFS-to-EFS backup solution implementation guide and accompanying AWS CloudFormation template.

 Click to enlarge

EFS-to-EFS Backup solution architecture

An Amazon CloudWatch event runs on an interval you define during initial configuration. This event invokes the solution’s orchestrator AWS Lambda function.

The Lambda function launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, creates an ID for the backup, and stores details on the backup Amazon Elastic File System (Amazon EFS) file system in an Amazon DynamoDB table.

The Amazon EC2 instance mounts the source and backup Amazon EFS file systems and initiates the backup. When the backup process completes, the instance updates the backup activity details in the DynamoDB table and sends logs to an Amazon Simple Storage Service (Amazon S3) bucket. Then, the instance is terminated.

If the backup is unsuccessful, Amazon Simple Notification Service (Amazon SNS) sends a notification to subscribed email addresses. You can also choose to be notified if the backup is successful.

EFS-to-EFS Backup

Version 1.3.1
Last updated: 02/2019
Author: AWS

Estimated deployment time: 5 min


EFS-to-EFS Backup reference implementation

Leverage Video on Demand on AWS as a reference implementation to automatically launch and configure the components necessary to automatically back up Amazon EFS file systems.

Consistent Backups

The EFS-to-EFS backup solution uses fpsync, a tool that synchronizes directories in parallel using fpart and rsync, to copy the source file system to the backup file system.

Incremental Backups

This solution captures the state of an Amazon EFS file system at a point in time. If you specify a backup window long enough to copy your entire file system, the solution will copy the entire file system or the entire subdirectory the first time it creates a backup.

Granular Backups

This solution enables customers to specify any valid directory from their source file system.
Explore all AWS Solutions

Browse our portfolio of AWS-built solutions to common architectural problems.

Learn more 
Find a Partner

Find AWS certified consulting and technology partners to help you get started.

Learn more 
Start building in the console

Sign-up and start exploring our services.

Get started