i'm using Backup & Replication 9.5.0.1922
i'm trying to create several backup copy job with powershell but i can't find how to modify the value for restore points to keep !
i tried this :
Code: Select all
$copyjob_name = Get-VBRJob -name "c_infras_30j"
$options = New-VBRJobOptions -ForBackupJob
$options.BackupStorageOptions.RetainCycles = 30
Set-VBRJobOptions -Job "$copyjob_name" -Options $options
these lines works perfectly for a backup job.
can you help me to find the correct option ?
thank you for your replies.