Set-VBRSyntheticFullOptions (obsolete)
Short Description
Modifies the synthetic full backup schedule settings for Veeam Agent backup jobs.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRSyntheticFullOptions -Options <VBRSyntheticFullOptions> [-Enable] [-Days <DayOfWeek[]>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies the VBRSyntheticFullOptions object that contains synthetic full backup schedule settings that you can apply to Veeam Agent backup jobs.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Days |
Specifies the days of the week when the Veeam Agent backup job will create synthetic full backups. |
|
False |
Named |
False |
|
Enable |
Enables the option for the Veeam Agent backup job to create synthetic full backups. |
|
False |
Named |
False |
|
Options |
Specifies synthetic full backup settings that you want to modify.
Accepts the |
|
True |
Named |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
This cmdlet returns the VBRSyntheticFullOptions object that contains schedule settings for backup jobs.
Examples
Modifying Synthetic Full Backup Schedule
This example shows how to modify synthetic full backup schedule settings. With these settings applied, the Veeam Agent backup job will back up computers on Wednesdays and Fridays.
|
$job = Get-VBRComputerBackupJob -Name "BackupJob" $newoption = Set-VBRSyntheticFullOptions -Options $job.SyntheticFullOptions -Days Wednesday, Friday Set-VBRComputerBackupJob -Job $job -SyntheticFullOptions $newoption |
Perform the following steps:
- Run the
Get-VBRComputerBackupJobReturns Veeam Agent backup jobs and Veeam Agent backup policies. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
Set-VBRSyntheticFullOptionscmdlet. Get theSyntheticFullOptionsproperty of the$jobvariable. Set theWednesday, Fridayoption for theDaysparameter. Save the result to the$newoptionvariable. - Run the
Set-VBRComputerBackupJobModifies Veeam Agent backup jobs and Veeam Agent backup policies. cmdlet. Set the$jobvariable as theJobparameter value. Set the$newoptionvariable as theSyntheticFullOptionsparameter value.
Related Commands
Get-VBRComputerBackupJobReturns Veeam Agent backup jobs and Veeam Agent backup policies.New-VBRSyntheticFullOptionsCreates synthetic full backup schedule settings for Veeam Agent backup jobs.