Moving a Protection Policy

Move a protection policy to a different compartment in your tenancy.

Using the Console

  1. On the Protection policies list page, select the policy that you want to work with. See Listing Protection Policies for detailed steps.
  2. From the Actions menu in the row for the policy, select Move resource.
  3. In the Move resource panel, select the destination compartment from the list.
  4. Select Move resource.

Using the CLI

Use the oci recovery protection-policy change-compartment command and the required parameters to move a policy to a different compartment.

See Autonomous Recovery Service CLI Command Reference for a complete list of parameters and values for CLI commands.

Using the API

Run the ChangeProtectionPolicyCompartment API operation to move a policy to a different compartment.