New-VBRLinuxScheduleOptions
Short Description
Creates the schedule for backup policies for Linux computers.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRLinuxScheduleOptions -Type <VBRServerScheduleType> [-DailyOptions <VBRDailyOptions>] [-MonthlyOptions <VBRMonthlyOptions>] [-PeriodicallyOptions <VBRPeriodicallyOptions>] [-EnableRetry] [-RetryCount <Int32>] [-RetryTimeout <Int32>] [-EnableBackupTerminationWindow] [-TerminationWindow <VBRBackupWindowOptions>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRLinuxScheduleOptions object. This object contains schedule settings for a backup policy that the Veeam Agent backup job applies to Linux computers.
Note |
|
For Veeam Agent jobs that back up Linux servers use the |
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 try to run the Veeam Agent backup job 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 |
|
|
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.
Default: |
|
False |
Named |
False |
|
RetryTimeout |
For the Specifies a timeout interval between retry attempts in minutes.
Default: |
|
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.
|
|
True |
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
Creating Monthly Schedule for Veeam Agent Job for Linux Computers
This example shows how to create a monthly schedule for a Veeam Agent job that backs up Linux computers. The job will run monthly at 3:00 AM on the first Sunday. The job is allowed to run only within the backup window from 20:00 to 22:59, Monday to Friday.
|
$monthly = New-VBRMonthlyOptions -Period 3:00 -DayNumberInMonth OnDay -DayOfMonth 20 $window = New-VBRBackupWindowOptions -FromDay Monday -ToDay Friday -FromHour 20 -ToHour 22 -Enabled New-VBRLinuxScheduleOptions -Type Monthly -EnableRetry -RetryCount 7 -RetryTimeout 15 -MonthlyOptions $monthly -EnableBackupTerminationWindow -TerminationWindow $window |
Perform the following steps:
- Run the
New-VBRMonthlyOptionsCreates a new VBRMonthlyOptions object. cmdlet. Specify thePeriod,DayNumberInMonthandDayOfMonthparameter values. Save the result to the$monthlyvariable. - 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
New-VBRLinuxScheduleOptionscmdlet. Specify the following settings:- Set the
Monthlyoption for theTypeparameter. - Provide the
EnableRetryparameter. - Specify the
RetryCountparameter value. - Specify the
RetryTimeoutparameter value. - Set the
$monthlyvariable as theMonthlyOptionsparameter 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.