Set-VBRJobAdvancedBackupOptions
Short Description
Modifies advanced job backup settings.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRJobAdvancedBackupOptions -Job <CBackupJob[]> [-Algorithm {ReverseIncremental | Incremental | RecoveryPointObjective | Unknown}] [-TransformFullToSynthetic <Boolean>] [-TransformToSyntheticScheduleKind <EFullBackupScheduleKind>] [-TransformToSyntheticDays {Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [-TransformToSyntheticMonths {January | February | March | April | May | June | July | August | September | October | November | December}] [-SyntheticDayNumberInMonth {First | Second | Third | Fourth | Last | OnDay}] [-SyntheticDayOfMonth <CDayOfMonth>] [-SyntheticDayOfWeek {Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [-EnableFullBackup <Boolean>] [-FullBackupDays {Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [-FullBackupScheduleKind {Daily | Monthly}] [-Months {January | February | March | April | May | June | July | August | September | October | November | December}] [-DayNumberInMonth {First | Second | Third | Fourth | Last | OnDay}] [-DayOfMonth <CDayOfMonth>] [-DayOfWeek {Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [<CommonParameters>] |
Detailed Description
This cmdlet modifies advanced backup options of a selected job.
You can select backup method: reverse incremental or incremental, and set schedule settings for synthetic full backups.
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 |
---|---|---|---|---|---|
Job | Specifies the array of jobs. The cmdlet will modify advanced backup options of these jobs. | Accepts the CBackupJob[] object. To create this object, run the Get-VBRJob cmdlet. | True | Named | True (ByProperty |
Algorithm | Specifies backup method:
Note: To enable forever forward incremental backup method, disable the TransformFullToSynthetic and EnableFullBackup parameters. | JobAlgorithms | False | Named | False |
TransformFullToSynthetic | For incremental backup method. Defines whether the job will create a full synthetic backup. Use the TransformToSyntheticDays parameter to set the days to perform the synthetic full backups. | Bool | False | Named | False |
TransformToSyntheticScheduleKind | For synthetic full schedule. Specifies the active full backup schedule type:
| EFullBackupScheduleKind | False | Named | False |
TransformToSyntheticDays | For synthetic full schedule. Specifies days when the job will perform the synthetic fulls:
| DayOfWeek[] | False | Named | False |
TransformToSyntheticMonths | For synthetic full schedule: monthly. Specifies months to perform the synthetic full backup:
| EMonth[] | False | Named | False |
SyntheticDayOfWeek | Specifies the day of week to run the backup job:
Use this parameter to set the day for the SyntheticDayNumberInMonth parameter, for example, to run the job on first Saturday every month. | DayOfWeek | False | Named | False |
SyntheticDayOfMonth | For synthetic full schedule: monthly with the SyntheticDayNumberInMonth parameter set to OnDay. Specifies the day of month to perform an active full backup. | CDayOfMonth | False | Named | False |
SyntheticDayNumberInMonth | Specifies the number of day in month (for example, Saturday):
| EDayNumberInMonth | False | Named | False |
EnableFullBackup | Defines whether the job will create active full backups. Use the FullBackupDays, FullBackupScheduleKind, Months, DayNumberInMonth and DayOfWeek parameters to set the full backup schedule. | Bool | False | Named | False |
FullBackupDays | For active full schedule: daily. Specifies days when the job will perform the active full backup:
| DayOfWeek[] | False | Named | False |
FullBackupScheduleKind | For active full schedule. Specifies the active full backup schedule type:
| EFullBackupScheduleKind | False | Named | False |
Months | For active full schedule: monthly. Specifies months to perform the full backup:
| EMonth[] | False | Named | False |
DayNumberInMonth | For active full schedule: monthly. Specifies the number of day in month (for example, Saturday):
| EDayNumberInMonth | False | Named | False |
DayOfMonth | For active full schedule: monthly with the OnDay option. Specifies the day of month to perform an active full backup. | CDayOfMonth | False | Named | False |
DayOfWeek | Sets backup schedule. Specifies the day of week to run the backup job:
Use this parameter to set the day for the NumberInMonth parameter, i.e. to run the job on first Saturday every month. | DayOfWeek[] | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Example 1. Setting Specific Backup Options for Backup Job [Using Pipeline]
This example shows how to set the following backup options for the backup job represented by the $job variable:
Perform the following steps:
|
Example 2. Setting Specific Backup Options for all Backup Jobs [Using Pipeline]
This example shows how to set the following backup options for all backup jobs:
Perform the following steps:
|
Related Commands