Unlocking a Snapshot

Unlock a locked File Storage snapshot 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 permission to manage the snapshot, you need permissions to manage locks.

To unlock a snapshot, 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 file system that you used to create a snapshot.
    4. On the file system's details page, under Resources, click Snapshots.
    5. Click the name of the snapshot that you want to unlock.
    6. On the snapshot's details page, next to Resource Locking, select Remove.
  • Use the oci fs snapshot remove command and required parameters to unlock a snapshot:

    oci fs snapshot remove --snapshot-id <snapshot_OCID> --type <lock_type>

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

  • Run the RemoveSnapshotLock operation to unlock a snapshot.

    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.