Sync-VBRBackupCopyJob
Short Description
Synchronizes backup copy job data.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Sync-VBRBackupCopyJob -Job <IJob> [-FullBackup <SwitchParameter>] [-ImmediateCopyLastRestorePoint <SwitchParameter>] [<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 | Accept |
---|---|---|---|---|---|
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, | False |
FullBackup | Defines that the job will create an active full backup. | False | Named | False | 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. | 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 synchronizes the "AD Backup Copy" job using pipeline.
- Run Get-VBRJob to get the job.
- Pipe it to 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.
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.
Related Commands