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
- On the File Systems list page, select the file system that you want to work with. If you need help finding the list page or the file system, see Listing File Systems.
- On the source file system's details page, select Replications.
- From the of the replication, select Delete.
- Select the Delete mode that you want to use.
- Select 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 parameters and values for CLI commands, see the CLI Command 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.