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

Sync-VBRBackupCopyJob

Short Description

Synchronizes backup copy job data.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet starts manual data synchronization for the selected backup copy job.

The backup copy job runs continuously synchronizing the backup repositories in user-defined time periods. With this cmdlet, you can synchronize the source and the target repositories manually.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Job

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

Accepts object containing a backup copy job or string type.

True

Named

True (ByValue,
ByProperty
Name)

False

FullBackup

Indicates that the job will create an active full backup.

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 synchronizes the "AD Backup Copy" job using pipeline.

  1. Run Get-VBRJob to get the job.
  2. Pipe it to Sync-VBRBackupCopyJob.

PS C:\PS> Get-VBRJob -Name "AD Backup Copy" | Sync-VBRBackupCopyJob

Example 2

This command synchronizes the "AD Backup Copy" job using variable.

  1. Run Get-VBRJob to get the job. Save it to the $ad variable.
  2. Run Sync-VBRBackupCopyJob with this variable.

PS C:\PS> $ad = Get-VBRJob -Name "AD Backup Copy"

PS C:\PS> Sync-VBRBackupCopyJob -Job $ad

Example 3

This command creates an active full for the "AD Backup Copy" job.

  1. Run Get-VBRJob to get the job. Save it to the $ad variable.
  2. Run Sync-VBRBackupCopyJob with this variable and FullBackup parameter.

PS C:\PS> $ad = Get-VBRJob -Name "AD Backup Copy"

PS C:\PS> Sync-VBRBackupCopyJob -Job $ad -FullBackup

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 Agent Management Guide

Veeam Backup Explorers User Guide

Backup and Restore of SQL Server Databases

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide