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. On the Snapshot Policies list page, select 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.
    2. On the details page, select Schedules.
    3. Select the schedule or schedules that you want to edit, and then select Edit.
    4. In the Edit schedule panel, update the details as required. For more information, see Adding a Schedule to a Snapshot Policy.
    5. Select 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.