Moving an OCI Database with PostgreSQL Backup to Another Compartment
Move a backup of an OCI Database with PostgreSQL database system.
- On the Backups list page, select the backup that you want to work with. If you need help finding the list page or the backup, see Listing Backups.
- 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.