New-VBRConfigurationBackupScheduleOptions
Short Description
Creates a new VBRConfigurationBackupScheduleOptions object.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRConfigurationBackupScheduleOptions [-Enable] [-Type <VBRConfigurationBackupScheduleType> {Daily | Monthly}] [-DailyOptions <VBRDailyOptions>] [-MonthlyOptions <VBRMonthlyOptions>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a new VBRConfigurationBackupScheduleOptions object. This object contains schedule settings for configuration backup job. It is used then in the Set-VBRConfigurationBackupJob cmdlet.
If you run this cmdlet without parameters, it will create an object with default settings.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Enable | Defines that the job will run automatically on schedule. If set to False, you will need to run the job manually. Default: True. Note: To disable the configuration job schedule, specify the $false value for the Enable parameter. | SwitchParameter | False | Named | False |
Type | Specifies the type of the schedule:
Default: Daily. | False | Named | False | |
DailyOptions | For daily schedule. Specifies the daily schedule options. Default: 10:00, everyday. | Accepts the VBRDailyOptions object. To get this object, run the New-VBRDailyOptions cmdlet. | False | Named | False |
MonthlyOptions | For monthly schedule. Specifies the monthly schedule options. Default: 22:00, Fourth Saturday, all months. | Accepts the VBRMonthlyOptions object. To get this object, run the New-VBRMonthlyOptions cmdlet. | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRConfigurationBackupScheduleOptions
Examples
Example 1. Creating Object with Default Configuration Job Schedule Settings
This command creates an object with default configuration job schedule settings. The object is saved to the $defaultschedule variable.
|
Example 2. Setting Daily Schedule for Configuration Backup Job
This example shows how to set daily schedule for the configuration backup job. The job will run on 5 AM on Saturdays.
Perform the following steps:
|
Example 3. Setting Monthly Schedule for Configuration Backup Job
This example shows how to set monthly schedule for the configuration backup job. The job will run on 00:00 the first Friday of each month.
Perform the following steps:
|
Example 4. Disabling Configuration Job Schedule
This command disables the configuration job schedule. The object is saved to the $disableschedule variable.
|
Related Commands