Moving a Database System to Another Compartment
Move an OCI Database with PostgreSQL database system to another compartment.
- On the Database systems list page, select the database system that you want to work with. If you need help finding the list page or the database system, see Listing Database Systems.
- On the database system details page, select Move resource.
- In the Move resource window, select the compartment that you want to move the database system to.
- Select Move resource.
Use the
oci psql db-system change-compartment
command and required parameters to move a database system:oci psql db-system change-compartment --db-system-id <database_OCID> --compartment-id <destination_compartment_OCID> [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeDbSystemCompartment operation to move a database system to another compartment.
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.