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-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 thevolumeBackupId
attribute in the request body and thecompartmentId
attribute in theChangeVolumeBackupCompartmentDetails
attribute to move the block volume backup to a different compartment.