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.

    1. Open the navigation menu  and select Storage. Under File Storage, select File Systems.
    2. (Optional) In the List scope section, under Compartment, select a compartment.
    3. Under Additional resources, click Snapshot Policies.
    4. Click the name of the snapshot policy that contains the schedule that you want to edit.
    5. On the snapshot policy's details page, under Resources, click Schedules.
    6. Select the schedule or schedules that you want to edit, and then click Edit.
    7. In the Edit schedule panel, update the details as required. For more information, see Adding a Schedule to a Snapshot Policy.
    8. 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.