Editing a Schedule
Update a snapshot policy's schedule to change its details and snapshot retention duration.
Changes to a schedule only affect future scheduled snapshots. If you change the retention duration in a schedule, the retention duration for past snapshots created by that schedule aren't affected.
- Open the navigation menu and select Storage. Under File Storage, select File Systems.
- (Optional) In the List scope section, under Compartment, select a compartment.
- Under Additional resources, click Snapshot Policies.
- Click the name of the snapshot policy that contains the schedule that you want to edit.
- On the snapshot policy's details page, under Resources, click Schedules.
- Select the schedule or schedules that you want to edit, and then click Edit.
- In the Edit schedule panel, update the details as required. For more information, see Adding a Schedule to a Snapshot Policy.
- Click Save changes.
Use the
oci fs filesystem-snapshot-policy update
command and with the--schedules
parameter to update schedules in a snapshot policy:oci fs filesystem-snapshot-policy update --filesystem-snapshot-policy-id <snapshot_policy_OCID> --schedules [<list_of_JSON_schedules>] [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Use UpdateFilesystemSnapshotPolicy to update a snapshot policy's schedules.
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.