Set-VBRRPONotificationOption
Short Description
Modifies RPO notification settings.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRRPONotificationOption -RPONotificationOption <VBRRpoNotificationOption> [-EnableRPOWarning] [-Value <Int32>] [-TimeUnit <VBRRpoTimeUnit>] [-RPOType <VBRRpoType>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies RPO notification settings.
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 |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
EnableRPOWarning |
Defines that the cmdlet will enable an RPO warning. |
|
False |
Named |
False |
|
RPONotificationOption |
Specifies the RPO notification settings that you want to modify.
Accepts the |
True |
Named |
True (ByValue) |
|
|
RPOType |
Specifies the following type of an RPO warning:
|
|
False |
Named |
False |
|
TimeUnit |
Specifies a period of time when data must be copied from the source repository to the target repository. You can set one of the following periods of time:
|
|
False |
Named |
False |
|
Value |
Specifies the number of minutes, hours or days when data must be copied from the source repository to the target repository. |
|
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 VBRRPONotificationOption object that defines RPO notification settings.
Examples
Modifying RPO Notification Settings
This example shows how to modify the RPO notification settings. According to these options, Veeam Backup & Replication will mark a copy job with a warning if the newly created restore point is not copied within 15 minutes.
|
$rpo = New-VBRRPONotificationOption -EnableRPOWarning -TimeUnit Hours -Value 1 Set-VBRRPONotificationOption -RPONotificationOption $rpo -TimeUnit Minutes -Value 15 |
Perform the following steps:
- Run the
New-VBRRPONotificationOptionDefines RPO notification settings. cmdlet. Specify theEnableRPOWarning,TimeUnitandValueparameter values. Save the result to the$rpovariable. - Run the
Set-VBRRPONotificationOptioncmdlet. Specify the following settings:- Set the
$rpovariable as theRPONotificationOptionparameter value. - Set the
Minutesoption for theTimeUnitparameter. - Specify the
Valueparameter value.
- Set the
Related Commands
New-VBRRPONotificationOptionDefines RPO notification settings.