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. 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 you want to edit.
    5. On the snapshot policy's details page, click Edit.
      The Edit Snapshot Policy panel is displayed.
    6. 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.
    7. Click 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.