Moving a Boot Volume Backup to Another Compartment

Move a boot volume backup in the Block Volume service to a different compartment.

    1. On the Boot Volume Backups list page, find the boot volume backup that you want to work with. If you need help finding the list page or the boot volume backup, seeListing Boot Volume Backups.
    2. From the Actions menu (three dots) for the boot volume backup, select Move resource.
    3. In the Move resource panel, select the destination compartment from the list.
    4. Select Move resource.
  • Use the oci bv boot-volume-backup change-boot-volume-backup-compartment command and specify the --boot-volume-backup-id and --compartment-id parameters to move the boot volume backup to a different compartment:

    oci bv boot-volume-backup change-boot-volume-backup-compartment --boot-volume-backup-id <boot_volume_backup_OCID> --compartment-id <destination_compartment_OCID>

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ChangeBootVolumeBackupCompartment operation and specify the bootVolumeBackupId attribute in the request body and the compartmentId attribute in the ChangeBootVolumeBackupCompartmentDetails resource to move a boot volume backup to a different compartment.