Set-VBRLinuxScheduleOptions
Short Description
Modifies the schedule for backup policies for Linux computers.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRLinuxScheduleOptions -Options <VBRLinuxScheduleOptions> [-Type <VBRServerScheduleType>] [-DailyOptions <VBRDailyOptions>] [-MonthlyOptions <VBRMonthlyOptions>] [-PeriodicallyOptions <VBRPeriodicallyOptions>] [-EnableRetry] [-RetryCount <Int32>] [-RetryTimeout <Int32>] [-EnableBackupTerminationWindow] [-TerminationWindow <VBRBackupWindowOptions>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies schedule settings for a backup policy that the Veeam Agent backup job applies to Linux computers.
Important |
|
For Veeam Agent jobs that back up Linux servers use the |
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 |
|---|---|---|---|---|---|
|
DailyOptions |
For daily schedule. Specifies daily schedule settings. The cmdlet will create the server schedule with these settings.
Accepts the |
False |
Named |
False |
|
|
EnableBackupTerminationWindow |
Enables the option to stop the Veeam Agent backup job if it exceeds the backup window. |
|
False |
Named |
False |
|
EnableRetry |
Enables the option for the Veeam Agent for Linux to run the Veeam Agent backup job again in case it fails. |
|
False |
Named |
False |
|
MonthlyOptions |
For monthly schedule. Specifies monthly schedule settings. The cmdlet will create the server schedule with these settings.
Accepts the |
False |
Named |
False |
|
|
Options |
Specifies the Linux computers schedule settings that you want to modify.
Accepts the |
True |
Named |
True (ByValue) |
|
|
PeriodicallyOptions |
For periodical schedule. Specifies periodically schedule settings. The cmdlet will create the server schedule with these settings.
Accepts the |
False |
Named |
False |
|
|
RetryCount |
For the Specifies the number of attempts to run the failed Veeam Agent backup job. |
|
False |
Named |
False |
|
RetryTimeout |
For the Specifies a timeout interval between retry attempts in minutes. |
|
False |
Named |
False |
|
TerminationWindow |
Specifies the time interval within which the backup job must complete.
Accepts the |
False |
Named |
False |
|
|
Type |
Specifies the Veeam Agent backup job schedule type.
|
|
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 VBRLinuxScheduleOptions object that contains the schedule for the backup policies for Linux computers.
Examples
Modifying Schedule for Veeam Agent Job for Linux Computers
This example shows how to modify an existing schedule for a Veeam Agent job that backs up Linux computers. The example also restricts the job to a backup window from 20:00 to 22:59, Monday to Friday.
|
$job = Get-VBRComputerBackupJob -Name "Linux_W_job" $monthly = New-VBRMonthlyOptions -Period 3:00 -DayNumberInMonth OnDay -DayOfMonth 20 $options = New-VBRLinuxScheduleOptions -Type Monthly -EnableRetry -RetryCount 7 -RetryTimeout 15 -MonthlyOptions $monthly $daily = New-VBRDailyOptions -DayOfWeek Wednesday -Period 17:00 -Type SelectedDays $window = New-VBRBackupWindowOptions -FromDay Monday -ToDay Friday -FromHour 20 -ToHour 22 -Enabled Set-VBRLinuxScheduleOptions -Options $options -Type Daily -DailyOptions $daily -EnableRetry -RetryCount 2 -RetryTimeout 45 -EnableBackupTerminationWindow -TerminationWindow $window |
Perform the following steps:
- Run the
Get-VBRComputerBackupJobReturns Veeam Agent backup jobs and Veeam Agent backup policies. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
New-VBRMonthlyOptionsCreates a new VBRMonthlyOptions object. cmdlet. Specify thePeriod,DayNumberInMonthandDayOfMonthparameter values. Save the result to the$monthlyvariable. - Run the
New-VBRLinuxScheduleOptionsCreates the schedule for backup policies for Linux computers. cmdlet. Specify the following settings:- Set the
Monthlyvalue as theTypeparameter value. - Provide the
EnableRetryparameter. - Specify the
RetryCountparameter value. - Specify the
RetryTimeoutparameter value. - Set the
$monthlyvariable as theMonthlyOptionsparameter value.
Save the result to the
$optionsvariable. - Set the
- Run the
New-VBRDailyOptionsCreates new job daily schedule settings. cmdlet. Specify theDayOfWeek,PeriodandTypeparameter values. Save the result to the$dailyvariable. - Run the
New-VBRBackupWindowOptionsDefines backup window settings for a job. cmdlet. Specify theFromDay,ToDay,FromHourandToHourparameter values. Provide theEnabledparameter. Save the result to the$windowvariable. - Run the
Set-VBRLinuxScheduleOptionscmdlet. Specify the following settings:- Set the
$optionsvariable as theOptionsparameter value. - Set the
Dailyvalue as theTypeparameter value. - Set the
$dailyvariable as theDailyOptionsparameter value. - Provide the
EnableRetryparameter. - Specify the
RetryCountparameter value. - Specify the
RetryTimeoutparameter value. - Provide the
EnableBackupTerminationWindowparameter. - Set the
$windowvariable as theTerminationWindowparameter value.
- Set the
Related Commands
New-VBRBackupWindowOptionsDefines backup window settings for a job.New-VBRMonthlyOptionsCreates a new VBRMonthlyOptions object.New-VBRLinuxScheduleOptionsCreates the schedule for backup policies for Linux computers.New-VBRDailyOptionsCreates new job daily schedule settings.Get-VBRComputerBackupJobReturns Veeam Agent backup jobs and Veeam Agent backup policies.