Deleting replication configurations - Amazon Elastic File System

Deleting replication configurations

If you need to fail over to the destination file system, delete the replication configuration of which it is a member. After you delete a replication configuration, the destination file system becomes writeable and its replication overwrite protection is re-enabled. For more information, see File system failover and failback.

Deleting a replication configuration and changing the destination file system to be writeable can take several minutes to complete. After the configuration is deleted, Amazon EFS might write some data to a lost+found directory in the root directory of the destination file system, using the following naming convention:

efs-replication-lost+found-source-file-system-id-TIMESTAMP
Note

You cannot delete a file system that is part of a replication configuration. You must delete the replication configuration before deleting the file system.

You can delete an existing replication configuration from either the source or the destination file system by using the console, the CLI, or the API.

  1. Open the Amazon Elastic File System console at https://console.aws.amazon.com/efs/.

  2. In the left navigation pane, choose File systems.

  3. Choose either the source or the destination file system that is in the replication configuration that you want to delete.

  4. Choose the Replication tab to display the Replication section.

  5. Choose Delete replication to delete the replication configuration. When prompted, confirm your choice.

To delete a replication configuration, use the delete-replication-configuration CLI command. The equivalent API command is DeleteReplicationConfiguration.

To specify which replication configuration that you're deleting, use the source-file-system-id parameter.

aws efs --region us-west-2 delete-replication-configuration \ --source-file-system-id fs-0123456789abcdef1