Pausing and Unpausing a Snapshot Policy

You can pause a snapshot policy to stop automatic scheduled snapshots, and unpause a snapshot policy to resume automatic scheduled snapshots. A paused snapshot policy's lifecycle state is INACTIVE. Unpausing a snapshot policy sets the lifecycle state to ACTIVE.

You can edit a snapshot policy while it's paused. Changes to the policy's name, prefix, tags, and other related metadata show up immediately. Any schedule-related change in the policy takes effect only after the policy is unpaused.

    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 pause or unpause.
    5. On the snapshot policy's details page, perform one of the following actions:
      • To pause an active policy, click Pause. Confirm when prompted.
      • To unpause a paused policy, click Unpause. Confirm when prompted.
  • To pause a snapshot policy, use the oci fs filesystem-snapshot-policy pause command and required parameters:

    oci fs filesystem-snapshot-policy pause --filesystem-snapshot-policy-id <snapshot_policy_OCID> [OPTIONS]

    To unpause a snapshot policy, use the oci fs filesystem-snapshot-policy unpause command and required parameters:

    oci fs filesystem-snapshot-policy unpause --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 PauseFilesystemSnapshotPolicy and UnpauseFilesystemSnapshotPolicy to pause and unpause snapshot policies.

    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.