Set-VBRJobAdvancedViOptions
Short Description
Customizes VMware job settings.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRJobAdvancedViOptions -Job <CBackupJob[]> [-ExcludeSwapFile <Boolean>] [-VmAttributeName <String>] [-SetResultsToVmAttribute <Boolean>] [-EnableChangeTracking <Boolean>] [-UseChangeTracking <Boolean>] [-VMToolsQuiesce <Boolean>] [<CommonParameters>] |
Detailed Description
This cmdlet sets special options for the selected VMware job.
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 Pipeline Input |
|---|---|---|---|---|---|
|
EnableChangeTracking |
Defines whether the changed block tracking will be enabled.
Default: |
|
False |
Named |
False |
|
ExcludeSwapFile |
Defines whether the swap file will be excluded from backup.
Default: |
|
False |
Named |
False |
|
Job |
Specifies the array of jobs. The cmdlet will modify advanced VMware backup options of these jobs.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
SetResultsToVmAttribute |
Defines whether the job results will be written to custom attributes field of the VM.
|
|
False |
Named |
False |
|
UseChangeTracking |
Defines whether the changed block tracking will be used even if CBT is disabled on the ESXi host.
Default: |
|
False |
Named |
False |
|
VmAttributeName |
Specifies the custom attributes field name. |
|
False |
Named |
False |
|
VMToolsQuiesce |
Defines whether the VMware quiescence mechanism will be enabled.
Use this mechanism if the application-aware processing cannot be used.
Default: |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Editing Advanced Job Settings to Specific Backup Job [Using Pipeline]
This example shows how to edit the 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 ESXi host settings.
- The swap file is excluded form backup.
|
Get-VBRJob -Name "Backup Job 01" | Set-VBRJobAdvancedViOptions -VMToolsQuiesce $True -EnableChangeTracking $True -UseChangeTracking $True -ExcludeSwapFile $True |
Perform the following steps:
- Run the
Get-VBRJobReturns existing jobs. cmdlet. Specify theNameparameter value. - Pipe the cmdlet output to the
Set-VBRJobAdvancedViOptionscmdlet. Specify the following settings:- Provide the
$Truevalue for theVmToolsQuiesceparameter. - Provide the
$Truevalue for theEnableChangeTrackingparameter. - Provide the
$Truevalue for theUseChangeTrackingparameter. - Provide the
$Truevalue for theExcludeSwapFileparameter.
- Provide the
Related Commands
Get-VBRJobReturns existing jobs.