Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Set-VBRJobAdvancedBackupOptions

Short Description

Modifies 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 | RecoveryPointObjective | Unknown}] [-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>]

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.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Job

Specifies the array of jobs. The cmdlet will modify advanced backup options of these jobs.

True

Named

True (ByValue,
ByProperty
Name)

False

Algorithm

Specifies backup method:

  • ReverseIncremental: reverse incremental backup method.
  • Incremental: incremental backup method.
  • RecoveryPointObjective: not supported.
  • Unknown: not supported.

NOTE: To enable forever forward incremental backup method, disable TransformFullToSynthetic and EnableFullBackup.

False

Named

False

False

TransformFull
ToSyntethic

For incremental backup method.

Indicates that the job will create a full synthetic backup.

Use TransformToSyntethicDays to set the days to perform the synthetic full backups.

False

Named

False

False

Transform
Increments
ToSyntethic

For incremental backup method with synthetic full.

Indicates that the job will transform the backup chains before the synthetic full backup into rollbacks.

False

Named

False

False

TransformTo
SyntethicDays

For synthetic full schedule.

Specifies days when the job will perform the synthetic fulls: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.

False

Named

False

False

Enable
FullBackup

Indicates that the job will create active full backups.

Use the FullBackupDays, FullBackupScheduleKind, Months, DayNumberInMonth and DayOfWeek parameters to set the full backup schedule.

False

Named

False

False

FullBackupDays

For active full schedule: daily.

Specifies days when the job will perform the active full backup: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.

False

Named

False

False

FullBackup
ScheduleKind

For active full schedule.

Specifies the active full backup schedule type:

  • Daily: the job will create an active full on selected days of week. Use FullBackupDays parameter to set the days.
  • Monthly: the job will create an active full on selected days of month. Use Months, DayNumberInMonth and DayOfWeek parameters to set the days.

False

Named

False

False

Months

For active full schedule: monthly.

Specifies months to perform the full backup: January, February, March, April, May, June, July, August, September, October, November, December.

False

Named

False

False

DayNumber
InMonth

For active full schedule: monthly.

Specifies the number of day in month (for example, Saturday):

  • First: the job will create an active full on the first (Saturday) of the selected months.
  • Second: the job will create an active full on the second (Saturday) of the selected months.
  • Third: the job will create an active full on the third (Saturday) of the selected months.
  • Forth: the job will create an active full on the forth (Saturday) of the selected months.
  • Last: the job will create an active full on the last (Saturday) of the selected months.

False

Named

False

False

DayOfWeek

For active full schedule: monthly.

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 $True -TransformIncrementsToSyntethic $True -TransformToSyntethicDays Sunday, Thursday -EnableFullBackup $True -FullBackupScheduleKind Monthly -DayNumberInMonth Second -FullBackupScheduleKind Daily -FullBackupDays Sunday

Related Commands

Get-VBRJob

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation