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 |
---|---|---|---|---|---|
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) |
Repository | Specifies object storage repository. Veeam Backup for Microsoft 365 uses this object storage repository as a target for backup copy jobs. | Accepts the VBORepository object. To get this object, run the Get-VBORepository cmdlet. | False | Named | 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 |
<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 Object Storage Repository for Backup Copy Job
This example shows how to change a target object storage 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 a backup copy job. A backup copy job will run every 8 hours.
Perform the following steps:
|
Related Commands