This is an archive version of the document. To get the most up-to-date information, see the current version.

Copy-VBRJob

Short Description

Clones existing jobs.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

Copy-VBRJob [-Job] <CBackupJob[]> [-Name <string[]>] [-Description <string[]>] [-Repository <CBackupRepository>] [<CommonParameters>]

Detailed Description

This cmdlet clones an existing job. You can use the cloned job, for example, as a template, as it retains all settings of the primary job.

You can run this cmdlet with backup, replication and copy jobs.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Job

Specifies the array of  jobs you want to clone.

True

1

True (ByValue,
ByProperty
Name)

False

Name

Specifies the name you want to assign to the cloned job.

Default: the name of the primary job with the _clone<clone sequence number> suffix.

False

Named

False

False

Description

Specifies the description of the cloned job.

False

Named

False

False

Repository

Specifies the backup repository that will be used by the cloned job as a target.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Example 1

This command clones the jobs named "DHCP Replica Job" and "DHCP Backup Job". The jobs are obtained with Get-VBRJob and piped down.

Get-VBRJob -Name "DHCP Replica Job", "DHCP Backup Job" | Copy-VBRJob

Example 2

This command clones the job represented by the $job variable. The job is obtained with Get-VBRJob and assigned to the variable beforehand.

Copy-VBRJob -Job $job

Related Commands

Get-VBRJob

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.