Deleting a Snapshot Policy
Delete a snapshot policy.
When you delete a snapshot policy, the policy and its schedules are deleted. The snapshots created by the policy remain on the file system.
Note
The File Storage service retains deleted snapshot policies for 30 days after deletion. Scheduled snapshots aren't created during this time.
The File Storage service retains deleted snapshot policies for 30 days after deletion. Scheduled snapshots aren't created during this time.
- On the Snapshot Policies list page, find 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.
- Select the policy you want to delete, and then select Delete.
- In the Delete snapshot policy panel, select Delete.
-
Use the
oci fs filesystem-snapshot-policy deletecommand with the required parameters to delete a snapshot policy:oci fs filesystem-snapshot-policy delete --filesystem-snapshot-policy-id <snapshot_policy_OCID> [OPTIONS]For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Use DeleteFilesystemSnapshotPolicy to delete a snapshot policy.
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.