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.
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.