This is an archive version of the document. To get the most up-to-date information, see the current version.

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.

Set-VBRJobAdvancedBackupOptions Note:

Cmdlet parameters have a typo. The following parameters are spelled incorrectly:

  • TransformFullToSyntethic
  • TransformIncrementsToSyntethic
  • TransformToSyntethicDays

In scripts, enter parameters as specified in command syntax.

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.
  • Fourth: the job will create an active full on the fourth (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 on common parameters, see the About CommonParameters section of Microsoft Docs.

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.

$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.

Get-VBRJob -Name Backup* | Set-VBRJobAdvancedBackupOptions -Algorithm Incremental -TransformFullToSyntethic $True -TransformIncrementsToSyntethic $True -TransformToSyntethicDays Sunday, Thursday -EnableFullBackup $True -FullBackupScheduleKind Monthly -DayNumberInMonth Second -FullBackupScheduleKind Daily -DayOfWeek Sunday

Related Commands

Get-VBRJob

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.