Warning
Helix documentation is moving from docs.bmc.com to docs.helixops.ai

Key pages will redirect to the new domain on May 26, 2026. However, some legacy documentation links will not be redirected. 

In-product help links might not work after migration as we transition and update them within the product.

For any queries, reach out to IX-Support@helixops.ai.

Information
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.

Job - copyJob


Job - copyJob

Description :

This command copies a job. jobKey is a handle to the job you want to copy. copyName is the new name of the copied job. jobGroup is the fully qualified path to the destination job group. If you want the job to remain in the same group, you still need to include the jobGroup argument. This command returns the handle of the copied job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Handle of the job you want to copy.

jobGroup

String

Fully qualified path to the destination job group.

copyName

String

New name of the copied job.

Example

The following example shows how to copy a job.

Script





JOB_KEY=`blcli SnapshotJob getDBKeyByGroupAndName /snapshots tstSnap`

NEW_JOB_KEY=`blcli Job copyJob $JOB_KEY /myNewJobs myCopiedJob`



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.3