Moving an OCI Database with PostgreSQL Backup to Another Compartment
Move a backup of an OCI Database with PostgreSQL database system.
- Open the navigation menu and select Databases. Under PostgreSQL, select Backups.
- (Optional) In the List scope section, under Compartment, select a compartment.
- Select the name of the backup that you want to move.
- On the backup details page, select Move resource.
- In the Move resource window, select the compartment that you want to move the backup to.
- Select Move resource.
Use the
oci psql backup change-compartment
command and required parameters to move a backup:oci psql backup change-compartment --backup-id <backup_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 ChangeBackupCompartment operation with required attributes to move a backup.
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.