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>] |
Related Commands
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 | Accept |
Job | Specifies the backup copy job for which you want to start manual synchronization. | True | Named | True (by Value | False |
FullBackup | If set, 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.
- Run Get-VBRJob to get the job.
- 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.
- Run Get-VBRJob to get the job. Save it to the $"ad" variable.
- 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.
- Run Get-VBRJob to get the job. Save it to the $"ad" variable.
- 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 |