Set-VBRJobAdvancedBackupOptions
Short Description
Customizes advanced job backup settings.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Set-VBRJobAdvancedBackupOptions -Job <CBackupJob[]> [-Algorithm <JobAlgorithms> {ReverseIncremental | Incremental }] [-TransformFullToSyntethic <bool>] [-TransformIncrementsToSyntethic <bool>] [-TransformToSyntethicDays <DayOfWeek[]> {Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [-EnableFullBackup <bool>] [-FullBackupDays <DayOfWeek[]> {Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [-FullBackupScheduleKind <EFullBackupScheduleKind> {Daily | Monthly}] [-Months <EMonth[]> {January | February | March | April | May | June | July | August | September | October | November | December}] [-DayNumberInMonth <EDayNumberInMonth> {First | Second | Third | Fourth | Last | OnDay}] [-DayOfWeek <DayOfWeek> {Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [<CommonParameters>] |
Related Commands
Detailed Description
This cmdlet sets advanced backup options for the selected job.
You can select backup method: reverse incremental or incremental, and set schedule settings for synthetic full backups.
Read more about advanced backup job settings in Veeam Backup & Replication user guide at http://www.veeam.com/vmware-backup/help-center.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the job you want to edit. You can assign multiple jobs to this object. | True | Named | True (ByValue, | False |
Algorithm | Specifies backup method: ReverseIncremental: every backup job run creates a full backup file by merging a previous full backup with recent changes. Incremental: the first job run creates a full backup file, and the subsequent runs backups only the changed blocks. | False | Named | False | False |
TransformFull | Used with incremental backup method. If set to TRUE, the full synthetic backup will be enabled. Otherwise, you will have to perform full backups manually. Use TransformToSyntethicDays to set the days to perform the synthetic full backups. | False | Named | False | False |
Transform | Used with incremental backup method. If set to TRUE, the previous full backup chain will be transformed into the reversed incremental backup chain. Otherwise all created synthetic fulls will remain on disk. Used to save disk space. | False | Named | False | False |
TransformTo | Specifies days to perform synthetic fulls: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. | False | Named | False | False |
Enable | If set to TRUE, the active full backup will be scheduled. Use the FullBackupDays, FullBackupScheduleKind, Months, DayNumberInMonth and DayOfWeek parameters to set the full backup schedule. | False | Named | False | False |
FullBackupDays | Sets backup schedule. Specifies days to perform the full backup: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. | False | Named | False | False |
FullBackup | Sets backup schedule. Sets weekly or monthly period to schedule the full backup: Daily, Monthly. | False | Named | False | False |
Months | Sets backup schedule. Specifies months to perform the full backup: January, February, March, April, May, June, July, August, September, October, November, December. | False | Named | False | False |
DayNumber | Sets backup schedule. Specifies the period condition for the monthly backup job run: First, Second, Third, Forth, Last. Use this parameter to set the condition for DayOfWeek parameter, i.e. to run the job on first Saturday every month. | False | Named | False | False |
DayOfWeek | Sets backup schedule. Specifies the day of week to run the backup job: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. Use this parameter to set the day for -NumberInMonth parameter, i.e. to run the job on first Saturday every month. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example 1
This command sets the following backup options for the backup job represented by the $job variable:
- The backup algorithm is set to ReverseIncremental,
- The active full backup schedule is set to monthly.
The job object is obtained with Get-VBRJob, assigned to the variable beforehand and piped down.
PS C:\PS> $job | Set-VBRJobAdvancedBackupOptions -Algorithm ReverseIncremental -FullBackupScheduleKind Monthly |
Example 2
This command sets the following backup options for all backup jobs:
- The backup algorithm is set to Incremental,
- The synthetic full backup is enabled on every Sunday and Thursday,
- The previous fulls are set to rollback to chain of increments to save disk space,
- The active full backup schedule is set to every second Sunday monthly.
PS C:\PS> Get-VBRJob -Name Backup* | Set-VBRJobAdvancedBackupOptions -Algorithm Incremental -TransformFullToSyntethic -TransformIncrementsToSyntethic -TransformToSyntethicDays Sunday, Thursday -EnableFullBackup -FullBackupScheduleKind Monthly -DayNumberInMonth Second -FullBackupScheduleKind Daily -FullBackupDays Sunday |