Set-VBRFullBackupOptions
Short Description
Modifies active full backup schedule settings for Veeam Agent backup jobs.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRFullBackupOptions -Options <VBRFullBackupOptions> [-Enable] [-ScheduleType <VBRFullBackupScheduleType>] [-SelectedDays <DayOfWeek[]>] [-DayNumber <VBRDayNumberInMonth>] [-DayOfWeek <DayOfWeek>] [-DayOfMonth <String>] [-SelectedMonths <VBRMonth[]>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies schedule settings that you can apply to Veeam Agent backup jobs. You can modify settings for the following types of schedules:
- HealthCheck schedules
- Compact full backup schedules
- Active full backup schedules
- Synthetic full backup schedules
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 |
|---|---|---|---|---|---|
|
DayNumber |
For monthly backups. Specifies the day of the month when active full backups will be created (for example, Saturday):
|
|
False |
Named |
False |
|
DayOfMonth |
For monthly backups with the Specifies the day of the month, when the job creates active full backups. For example, on the 3rd day of November. |
|
False |
Named |
False |
|
DayOfWeek |
For monthly backups. Specifies the day of the week, when the job creates active full backups.
|
|
False |
Named |
False |
|
Enable |
Enables the option for the Veeam Agent backup job to create active full backups. |
|
False |
Named |
False |
|
Options |
Specifies the active full backup schedule that you want to modify.
Accepts the |
|
True |
Named |
True (ByValue) |
|
ScheduleType |
Specifies the type of active full backup schedule.
|
|
False |
Named |
False |
|
SelectedDays |
For weekly full backups. Specifies the day of the week when active full backups will be created. |
|
False |
Named |
False |
|
SelectedMonths |
Specifies the months, when the job creates active full backups.
|
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
This cmdlet returns the VBRFullBackupOptions object that contains schedule settings for backup jobs.
Examples
Modifying Active Full Backup Schedule from Weekly to Monthly
This example shows how to modify an active full backup schedule settings from weekly to monthly.
|
$activefull = New-VBRFullBackupOptions -Enable -ScheduleType Weekly -SelectedDays Sunday, Wednesday Set-VBRFullBackupOptions -Options $activefull -Enable -ScheduleType Monthly -SelectedMonths January, March, June, October -DayNumber OnDay -DayOfMonth 3 |
Perform the following steps:
- Run the
New-VBRFullBackupOptionsCreates active full backup schedule settings for Veeam Agent backup jobs. cmdlet. Provide theEnableparameter. Specify theScheduleTypeandSelectedDaysparameter values. Save the result to the$activefullvariable. - Run the Set-
VBRFullBackupOptionscmdlet. Specify the following settings:- Set the
$activefullvariable as theOptionsparameter value. - Provide the
Enableparameter. - Set the
Monthlyoption for theScheduleTypeparameter. - Specify the
SelectedMonthsparameter value. - Set the
OnDayoption for theDayNumberparameter. - Specify the
DayOfMonthparameter value.
- Set the
Related Commands
New-VBRFullBackupOptionsCreates active full backup schedule settings for Veeam Agent backup jobs.