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

Set-VBRJobAdvancedViOptions

In this article

    Short Description

    Customizes VMware job settings.

    Applies to

    Platform: VMware

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Set-VBRJobAdvancedViOptions -Job <CBackupJob[]> [-ExcludeSwapFile [<Boolean>]] [-VmAttributeName <String>] [-SetResultsToVmAttribute [<Boolean>]] [-EnableChangeTracking [<Boolean>]] [-UseChangeTracking [<Boolean>]] [-VMToolsQuiesce [<Boolean>]] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Related Commands

    Get-VBRJob

    Detailed Description

    This cmdlet sets special options for the selected VMware job.

    Read more about VMware job settings in Veeam Backup & Replication user guide at http://www.veeam.com/vmware-backup/help-center.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Job

    Specifies the job you want to edit.

    You can assign multiple jobs to this object.

    True

    Named

    True (by Value
    FromPipeline, ValueFromPipeline
    ByPropertyName)

    False

    Exclude
    SwapFile

    If set to TRUE, the swap file will be excluded from backup.

    Default: TRUE.

    False

    Named

    False

    False

    VmAttribute
    Name

    Specifies the custom attributes field name.

    False

    Named

    False

    False

    SetResults
    ToVm
    Attribute

    If set to TRUE, the job results will be written to custom attributes field of the VM.

    False

    Named

    False

    False

    Enable
    Change
    Tracking

    If set to TRUE, the changed block tracking will be enabled.

    Default: TRUE.

    False

    Named

    False

    False

    Use
    Change
    Tracking

    If set to TRUE, the changed block tracking will be used even if CBT is disabled on the ESX(i) host.

    Default: TRUE.

    False

    Named

    False

    False

    VMTools
    Quiesce

    If set to TRUE, the VMware quiescence mechanism will be enabled. Use this mechanism if the application-aware processing cannot be used.

    Default: FALSE.

    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

    This command edits advanced job settings to backup job named "Backup Job 01":

    • The VMware quiescence is enabled.
    • The changed block data is enabled.
    • The CBT is forced to use despite the ESX host settings.
    • The swap file is excluded form backup.

    The job is obtained with Get-VBRJob and piped down.

    PS C:\PS> Get-VBRJob -Name "Backup Job 01" | Set-VBRJobAdvancedViOptions -VMToolsQuiesce -EnableChangeTracking -UseChangeTracking -ExcludeSwapFile