In v11 we used to do something like this:
Code: Select all
$job = Get-VBRJob -name 'Backup copy jobname'
$options = Get-VBRJobOptions -Job $job
$options.GenerationPolicy.EnableDeletedVmDataRetention = $true
$options.GenerationPolicy.DeletedVmsDataRetentionPeriodDays = 30
$options.GenerationPolicy.EnableCompactFull = $true
Set-VBRJobOptions -Job $job -Options $options
https://helpcenter.veeam.com/docs/backu ... ml?ver=120
My question is: How can the following settings be controlled trough PowerShell?
1. ‘Remove deleted items after’
2. ‘Defragment and compact full backup file’
PS: I opened a support case. Case #05993827