Set-VBRRecoveryPointObjective
Short Description
Modifies an interval for backup copy jobs that process backups stored on external repositories.
Platform: VMware, Hyper-V
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRRecoveryPointObjective -RecoveryPointObjective <VBRRecoveryPointObjective> [-Value <Int32>] [-Unit <VBRRecoveryPointObjectiveUnit>] [-StartTime <TimeSpan>] [<CommonParameters>] |
Detailed Description
This cmdlet 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 parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RecoveryPointObjective |
Specifies a schedule of a backup copy job that you want to modify.
Accepts the |
|
True |
Named |
True (ByValue) |
|
StartTime |
For the daily option. Specifies the start time for a backup copy job to run. |
|
False |
Named |
False |
|
Unit |
Specifies the period of time for a backup copy job to run:
|
|
False |
Named |
False |
|
Value |
Specifies the number of times the backup copy job will copy new restore points. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRRecoveryPointObjective object that contains settings for backup copy interval of backup copy jobs.
Examples
Modifying Backup Copy Interval
This example shows how to modify the backup copy interval. The backup copy job will run every five hours.
|
$job = Get-VBRJob -Name "EC2 BCJ 01" $interval = Get-VBRRecoveryPointObjective -Job $job $newinterval = Set-VBRRecoveryPointObjective -RecoveryPointObjective $interval -Value 5 -Unit Hour |
Perform the following steps:
- Run the
Get-VBRJobReturns existing jobs. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
Get-VBRRecoveryPointObjectiveReturns a schedule for a backup copy jobs that process backups stored on external repositories. cmdlet. Set the$jobvariable as theJobparameter value. Save the result to the$intervalvariable. - Run the
Set-VBRRecoveryPointObjectivecmdlet. Specify the following settings:- Set the
$intervalvariable as theRecoveryPointObjectiveparameter value. - Specify the
Valueparameter value. - Set the
Hourvalue for theUnitparameter.
Save the result to the
$newintervalvariable to apply the settings to the backup copy job. - Set the
Related Commands
Get-VBRJobReturns existing jobs.Get-VBRRecoveryPointObjectiveReturns a schedule for a backup copy jobs that process backups stored on external repositories.