Moving a Volume Group Backup to Another Compartment

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

    1. On the Volume Group Backups list page, find the volume group backup that you want to work with. If you need help finding the list page or the volume group backups, see Listing Volume Group Backups.
    2. From the Actions menu (three dots) for the volume group 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 volume-group-backup change-volume-group-backup-compartment command and specify the --volume-group-backup-id and --compartment-id parameters to move a volume group backup to a different compartment:

    oci bv volume-group-backup change-volume-group-backup-compartment --volume-group-backup-id <volume_group_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 ChangeVolumeGroupBackupCompartment operation to and specify the volumeGroupBackupId attribute in the request body and the compartmentId attribute for the ChangeVolumeGroupBackupCompartmentDetailsReference resource.