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.
- Open the navigation menu and select Storage. Under File Storage, select File Systems.
- (Optional) In the List scope section, under Compartment, select a compartment.
-
To detach the policy through the snapshot policy's details page:
- Under Additional resources, click Snapshot Policies.
- In the Snapshot Policies list, click the name of the snapshot policy that you want to detach a file system.
- On the snapshot policy's details page, under Resources, click Associated File Systems.
- Use the check boxes to select one or more file systems that you want to detach from the snapshot policy.
- Click Detach.
- Confirm when prompted.
-
To detach the policy through the file system's details page:
- In the File Systems list, click the name of the file system that you want to detach a snapshot policy from.
- On the file system's details page, under Resources, click Snapshot Policy.
- Find the snapshot policy that you want to detach, click the , and then select Detach.
- Confirm when prompted.
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.