Unlocking a Replication

Unlock a locked File Storage replication to allow deletions (in the case of a delete lock) or updates, moves, and deletions (in the case of a full lock).

You can also override snapshot locks.

Required IAM Policy

To remove locks, in addition to permissions to manage the replication, you need permissions to manage locks.

To unlock a replication, you must have RESOURCE_LOCK_REMOVE permissions.

    1. Open the navigation menu and click Storage. Under File Storage, click File Systems.
    2. (Optional) In the List scope section, under Compartment, select a compartment.
    3. Click the name of the source file system.
    4. On the file system's details page, under Resources, click Replications.
    5. In the Replications list, click the name of the replication that you want to unlock.
    6. On the replication's details page, next to Resource Locking, select Remove.
  • Use the oci fs replication remove command and required parameters to unlock a replication:

    oci fs replication remove --replication-id <replication_OCID> --type <lock_type> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the RemoveReplicationLock operation to unlock 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.