Moving a Protected Database
Move a protected database to a different compartment in your tenancy.
Before you move a protected database to a different compartment, ensure that the associated resources, which includes the database, Recovery Service subnet, and protection policy can access the protected database in the new compartment.
Using the Console
-
On the Protected databases list page, select the protected database that you want to work with. See Listing Protected Databases for detailed steps to access the list page.
-
From the Actions menu in the row for the protected database, select Move resource.
-
In the Move resource panel, select the destination compartment from the list.
-
Select Move resource.
Using the CLI
Use the oci recovery protected-database change-compartment command and required parameters to move a protected database resource 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 ChangeProtectedDatabaseCompartment API operation to move a protected database to a different compartment.