Set-VBOCopyJob
Short Description
Modifies settings of a backup copy job.
Syntax
Set-VBOCopyJob -Job <VBOCopyJob> [-Repository <VBORepository>] [-SchedulePolicy <VBOCopyJobSchedulePolicy>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of a backup copy job. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input | Accept Wildcard Characters |
---|---|---|---|---|---|---|
Job | Specifies a backup copy job whose settings you want to modify. | Accepts the VBOCopyJob object. To get this object, run the Get-VBOCopyJob cmdlet. | True | Named | True (ByValue) | False |
Repository | Specifies a backup repository extended with an archive object storage. Veeam Backup for Microsoft 365 uses this backup repository as a target for backup copy jobs. | Accepts the VBORepository object. To get this object, run the Get-VBORepository cmdlet. | False | Named | False | False |
SchedulePolicy | Specifies schedule settings for a backup copy job. | Accepts the VBOCopyJobSchedulePolicy object. To create this object, run the New-VBOCopyJobSchedulePolicy cmdlet. | 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.
Output Object
The cmdlet returns the VBOCopyJob object that contains settings for a backup copy job.
Examples
Example 1. Modifying Backup Repository for Backup Copy Job
This example shows how to change a target backup repository for the backup copy job created for the backup job with the name ABC Backup.
Perform the following steps:
|
Example 2. Setting New Schedule for Backup Copy Job
This example shows how to set new schedule settings for the backup copy job. A backup copy job will run every 8 hours.
Perform the following steps:
|
Related Commands