Deleting a Replication
Delete a File Storage replication resource.
Deleting the replication resource also deletes its associated replication target. If the source file system and replication resource aren't available (such as in the case of an outage), then delete the replication target to make the target file system exportable for failover.
When you delete a replication resource, you can specify which delete mode you want to use. File Storage replication offers three modes to give you the most flexibility for your data recovery requirements. Delete modes aren’t available when deleting a replication target. During a disaster recovery operation where the source availability domain isn’t available, the replication resource isn’t accessible, and the replication process stops.
- Graceful delete
- If the replication is
capturing
,transferring
, orapplying
, finish and then delete the replication. - If the replication is
idle
, delete the replication immediately.
finish_cycle_if_capturing_or_applying
by the File Storage API.- If the replication is
- Replicate and delete
- If the replication is
capturing
,transferring
, orapplying
, finish the current cycle, start and finish one more cycle, and then delete the replication. - If the replication is
idle
, start and finish one more cycle, and then delete the replication.
one_more_cycle
by the File Storage API.- If the replication is
- Apply and delete
- If the replication is
applying
ortransferring
, finish and then delete the replication. - If the replication is
capturing
oridle
, delete the replication immediately.
finish_cycle_if_applying
by the File Storage API.- If the replication is
- Open the navigation menu and click Storage. Under File Storage, click File Systems.
- In the List scope section, under Compartment, select a compartment.
- Click the name of the source file system.
- On the file system's details page, under Resources, click Replications.
- In the Replications list, find the replication you're interested in. Click the , and then click Delete.
- Select the Delete mode that you want to use.
- Click Delete.Note
The amount of time that the replication takes to finish deleting depends on the mode you choose and the amount of data in the replication.
Use the
fs replication delete
command and required parameters to delete a replication:oci fs replication delete --replication-id <replication_OCID>
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the DeleteReplication operation to delete a replication.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.