Moving an OCI Database with PostgreSQL Backup to Another Compartment

Move a backup of an OCI Database with PostgreSQL database system.

    1. On the Backups list page, find the backup that you want to work with. If you need help finding the list page or the backup, see Listing Backups.
    2. From the Actions menu, select Move resource.
    3. In the Move resource panel, select the destination compartment from the list.
    4. 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]

    To get your backup's OCID, see Listing Backups.

    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.