Set-VBRRecoveryPointObjective

Short Description

Modifies an interval for backup copy jobs that process backups stored on external repositories.

Applies to

Platform: VMware, Hyper-V

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Set-VBRRecoveryPointObjective -RecoveryPointObjective <VBRRecoveryPointObjective> [-Value <int>] [-Unit <VBRRecoveryPointObjectiveUnit> [-StartTime <timespan>]  [<CommonParameters>]

Detailed Description

Modifies an interval for backup copy jobs that process backups stored on external repositories.

Note

To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameters values with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

RecoveryPointObjective

Specifies a schedule of a backup copy job that you want to modify.

Accepts the VBRRecoveryPointObjective type.

True

Named

True (ByValue)

 

Value

Specifies the number of times the backup copy job will copy new restore points.

False

Named

False

 

Unit

Specifies the period of time for a backup copy job to run.

False

Named

False

 

StartTime

For the daily option.

Specifies the start time for a backup copy job to run.

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.

Return Type

Example

This example shows how to modify the backup copy interval. The backup copy job will run every five hours.

  1. Run Get-VBRJob to get a backup copy job. Save the result to the $job variable.
  2. Run Get-VBRRecoveryPointObjective with the $job variable. Save the result to the $interval variable.
  3. Run Set-VBRRecoveryPointObjective with the $interval variable. Save the result to the $newinterval variable to apply the settings to the backup copy job.

$job = Get-VBRJob -Name "EC2 BCJ 01"

$interval = Get-VBRRecoveryPointObjective -Job $job

$newinterval = Set-VBRRecoveryPointObjective -RecoveryPointObjective $interval -Value 5 -Unit Hour