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 | Accept |
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.
- Run Get-VBRJob to get a backup copy job. Save the result to the $job variable.
- Run Get-VBRRecoveryPointObjective with the $job variable. Save the result to the $interval variable.
- Run Set-VBRRecoveryPointObjective with the $interval variable. Save the result to the $newinterval variable to apply the settings to the backup copy job.