UpgradeModelObjectsJob - addServerObjectBasedSnapshotOrAuditJobToJob
UpgradeModelObjectsJob - addServerObjectBasedSnapshotOrAuditJobToJob
Description :
This command adds a server object based Snapshot Job or Audit Job to an existing Upgrade Model Objects Job.
The jobKey argument is a DBKey that refers to the Upgrade Model Objects Job you want to modify. The targetJobKey argument is a DBKey that refers to the server object based Snapshot Job or Audit Job you want to add to the job.
This command returns a handle to the updated job. Note that this handle is different than any existing handle to this job. All older handles are invalid.
Return type : DBKey
Command Input :
Variable Name |
Variable Type |
Description |
---|---|---|
jobKey |
DBKey |
Handle to the Upgrade Model Objects Job. |
targetJobKey |
DBKey |
Handle to the target job. |
Example
The following example shows how to add a server object based Snapshot Job or Audit Job to an existing Upgrade Model Objects Job.
Script
JOB_KEY=`blcli UpgradeModelObjectsJob getDBKeyByGroupAndName /group1 upgrade_co_job`
TARGET_JOB_KEY=`blcli SnapshotJob getDBKeyByGroupAndName /group2 snapshot_job_1`
JOB_KEY=`blcli UpgradeModelObjectsJob addServerObjectBasedSnapshotOrAuditJobToJob $JOB_KEY $TARGET_JOB_KEY`
Comments
Log in or register to comment.