Monitoring replication status - Amazon Elastic File System

Monitoring replication status

You can monitor the time when the last successful sync was completed in a replication configuration. Any changes to data on the source file system that occurred before this time have been successfully replicated to the destination file system. Any changes that occurred after this time might not be fully replicated. To monitor when the last replication successfully finished, you can use the console, CLI, API, or Amazon CloudWatch.

  • In the console – The Last synced property in the File system details > Replication section shows the time when the last successful sync between the source and destination was completed.

  • In the CLI or API – The LastReplicatedTimestamp property in the Destination object shows the time that the last successful sync was completed. To access this property, use the describe-replication-configurations CLI command. DescribeReplicationConfigurations is the equivalent API operation.

  • In CloudWatch – The TimeSinceLastSync CloudWatch metric for Amazon EFS shows the time that has elapsed since the last successful sync was completed. For more information, see Amazon CloudWatch metrics for Amazon EFS.

You can also monitor a replication configuration's status by using the console, CLI, or API. A replication configuration can have one of the status values described in the following table.

Replication state Description

ENABLED

The replication configuration is in a healthy state and available for use.

ENABLING

Amazon EFS is in the process of creating the replication configuration.

DELETING

Amazon EFS is deleting the replication configuration in response to a user-initiated delete request.

PAUSING

Amazon EFS is in the process of pausing replication, as a result of opting out of the Region for one or both of the file systems in the replication configuration.

PAUSED

Replication is paused as a result of opting out of the Region for one or both of the file systems in the replication configuration. To resume replication, you need to again opt in to the AWS Region. For more information, see Managing AWS Regions in the AWS General Reference Guide.

ERROR

One (or both) of the file systems in the replication configuration is in a failed state and is unrecoverable. To access the file system data, restore a backup of the failed file system to a new file system. For more information, see Restore a recovery point.