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
To get this object, run the |
True |
Named |
True (ByValue) |
|
|
Repository |
Specifies an object storage repository. Veeam Backup for Microsoft 365 uses this object storage repository as a target for backup copy jobs.
Accepts the
To get this object, run the |
False |
Named |
False |
|
|
SchedulePolicy |
Specifies schedule settings for a backup copy job.
Accepts the
To create this object, run the |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
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
Get-VBOJobReturns backup jobs.Get-VBOCopyJobReturns backup copy jobs.Get-VBORepositoryReturns backup repositories.New-VBOCopyJobSchedulePolicyCreates a backup copy job schedule.