Moving a Block Volume Backup to Another Compartment
Learn how to move a block volume backup in Block Volume to a different compartment.
Use the
oci bv backup change-compartmentcommand and specify the--compartment-idand--volume-backup-idparameters 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
ChangeVolumeBackupCompartmentoperation and specify thevolumeBackupIdattribute in the request body and thecompartmentIdattribute in theChangeVolumeBackupCompartmentDetailsattribute to move the block volume backup to a different compartment.