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.
- On the File Systems list page, select the file system that contains the snapshot that you want to work with. If you need help finding the list page or the file system, see Listing File Systems.
- On the details page, select Snapshots.
- Select the snapshot that you want to unlock.
- 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.