Sync-VBRBackupCopyJob

Short Description

Starts a backup copy job.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Sync-VBRBackupCopyJob -Job <IJob> [-FullBackup] [-ImmediateCopyLastRestorePoint]  [<CommonParameters>]

Detailed Description

This cmdlet starts a backup copy job.

By default, the backup copy job runs continuously synchronizing the backup repositories in user-defined time periods. You can also use this cmdlet to synchronize the source and the target repositories manually.

Important

If you start a backup copy job in the periodic copy mode, the cmdlet will copy the latest source restore point according to schedule specified in backup copy job settings. To run the cmdlet, you must provide either the ImmediateCopyLastRestorePoint or FullBackup parameter.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Job

Specifies the backup copy job. The cmdlet will start this job.

Accepts string or the IJob object. To get this object, run the Get-VBRJobs cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

FullBackup

Defines that the job will create an active full backup.

SwitchParameter

False

Named

False

ImmediateCopyLastRestorePoint

Defines that the cmdlet will enable the immediate copy mode.

If you specify this parameter, Veeam Backup & Replication will copy only the latest restore point for each source job.

Otherwise, Veeam Backup & Replication will copy all restore points created by the source jobs that were not copied since the last backup copy job session.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

None.

Examples

Sync-VBRBackupCopyJobExample 1. Starting Backup Copy Job [Using Variable]

Sync-VBRBackupCopyJobExample 2. Starting Backup Copy Job [Using Pipeline]

Sync-VBRBackupCopyJobExample 3. Starting Backup Copy Job and Creating Active Full Backup

Related Commands

Get-VBRJob

Page updated 4/24/2024

Page content applies to build 12.3.1.1139