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.
- Open the navigation menu and select Storage. Under File Storage, select File Systems.
- In the List scope section, under Compartment, select a compartment.
- Under Additional resources, click Snapshot Policies.
- Click the name of the snapshot policy that you want to delete.
- On the snapshot policy's details page, click Delete.
- Confirm when prompted.
Use the
oci fs filesystem-snapshot-policy delete
command 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.