Detaching a Snapshot Policy from a File System
Stop automatic snapshots of a file system or attach a different snapshot policy by detaching the snapshot policy from the file system.
You can detach a snapshot policy from a file system in two ways: through the snapshot policy's details page or through the file system's details page.
To detach the policy through the snapshot policy's details page
- On the Snapshot Policies list page, select the snapshot policy that you want to work with. If you need help finding the list page or the snapshot policy, see Listing Snapshot Policies.
- On the details page, select Associated File Systems.
- Use the checkboxes to select one or more file systems that you want to detach from the snapshot policy.
- Select Detach.
- When prompted, confirm the detachment.
To detach the policy through the file system's details page
- 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 page, select Snapshot Policy.
- Find the snapshot policy that you want to detach, then, from the the , select Detach.
- When prompted, confirm the detachment.
Use the
oci fs file-system update
command with an empty--filesystem-snapshot-policy-id
parameter to detach a snapshot policy from a file system:oci fs file-system update --file-system-id <file_system_OCID> --filesystem-snapshot-policy-id "" [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Use UpdateFileSystem and with an empty
filesystemSnapshotPolicyId
to detach a snapshot policy from a file system.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.