Moving a Block Volume Backup to Another Compartment

Learn how to move a block volume backup in Block Volume to a different compartment.

    1. On the Block Volume Backups list page, find the block volume backup that you want to work with. If you need help finding the list page or the block volume backup, see Listing Volume Backups.
    2. To view the block volume backups in a different compartment, use the Compartment filter to switch compartments.

      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.

    3. From the Actions menu (three dots) for the block volume backup, select Move resource.
    4. In the Move resource panel, select the destination compartment from the list.
    5. Select Move resource.
  • Use the oci bv backup change-compartment command and specify the --compartment-id and --volume-backup-id parameters to move a block volume backup to a different compartment:

    oci bv backup change-compartment  --volume-backup-id <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 ChangeVolumeBackupCompartment operation and specify the volumeBackupId attribute in the request body and the compartmentId attribute in the ChangeVolumeBackupCompartmentDetails attribute to move the block volume backup to a different compartment.