This is an archive version of the document. To get the most up-to-date information, see the current version.

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

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.

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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

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