Editing a Snapshot Policy

Update a snapshot policy to change the policy's name or the prefix of snapshots created according to the policy's schedules.

To edit a snapshot policy's schedules, see Editing a Schedule.

Tip

Modifications to a snapshot policy only affect future snapshots created according to its schedules.
    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 Edit.
    3. In the Edit Snapshot Policy dialog box, update the following details:
      • Name: Enter a new name for the schedule. Avoid entering confidential information.
      • Policy prefix: Enter a new prefix to apply to all future snapshots created by this policy.
    4. Select Save changes.
  • Use the oci fs filesystem-snapshot-policy update command with the required parameters to update a snapshot policy:

    oci fs filesystem-snapshot-policy update --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 UpdateFilesystemSnapshotPolicy to update 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.