Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

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 a "_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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

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.

PS C:\PS> 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.

PS C:\PS> Copy-VBRJob -Job $job

Related Commands

Get-VBRJob

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation