Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

BlPackage - updateByDBKey

BlPackage - updateByDBKey

Description :

This command updates the destination BLPackage using the contents of the source BLPackage. For information about the update process, see Import and export concepts.

Return type : com.bladelogic.om.infra.model.depot.blpackage.BlPackage

Command Input :

Variable Name

Variable Type

Description

srcBlPackageDBKey

DBKey

Handle to the source BLPackage.

destBlPackageDBKey

DBKey

Handle to the destination BLpackage.

Example

The following example shows how to obtain handles to both a source BLPackage and a destination BLPackage, and then update the destination BLPackage.

Script


DBKEY_SRC=`blcli BlPackage getDBKeyByGroupAndName /group2 newPkg` 

DBKEY_DEST=`blcli BlPackage getDBKeyByGroupAndName /group1 oldPkg` 

blcli BlPackage updateByDBKey $DBKEY_SRC $DBKEY_DEST 



Was this page helpful? Yes No Submitting... Thank you

Comments