Press "Enter" to skip to content

Script: change number of restore points

Use the following script to change the number of restore point of a given job.

Add-PsSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue
$serverName = "This server"
$server = Get-VBRServer -Name $serverName

$Job = Get-VBRJob -name "Name of backup job"
$Options = $Job.GetOptions()
$Options.BackupStorageOptions.RetainCycles = 18
$Job.SetOptions($Options)

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *