powershell-f26/v11-get-vbrbackupreposit ... ml#p403269
To change guest processing options within agent jobs we try to use the methods behind:
https://helpcenter.veeam.com/docs/backu ... ml?ver=110
Code: Select all
$Obj = Get-VBRDiscoveredComputer -ProtectionGroup "MyProtectionGroup" |Where-Object name -match "MyServer"
$SQLVSSOptions = New-VBRSQLProcessingOptions -TransactionAction BackupPeriodically -LogBackupPeriod 10 -LogRetainAction KeepOnlyLastDays -LogRetainPeriod 5
$VSSOptions=New-VBRApplicationProcessingOptions -BackupObject $Obj -OSPlatform "Windows" -Enable -GeneralTransactionLogAction ProcessLogsWithJob -SQLProcessingOptions $SQLVSSOptions
Set-VBRApplicationProcessingOptions -Options $VSSOptions -GeneralTransactionLogAction PerformCopyOnly -Enable
Also I don't find any method here to read the settings from a job. Only "New-" and "Set-" methods. No "Get-".
In contrast I can use the methods behind:
https://helpcenter.veeam.com/docs/backu ... ml?ver=110
To read out and manipulate the settings. These methods are not meant for agent jobs as I undestand it.
Can someone provide a working snippet to manipulate VSS settings for a machine within an agent job?
Thanks,
Mike