ajhstn
12 years agoLevel 4
Edit Incremental Backup Jobs (Command Line)
Hey,
how can i use the cli to edit one or many incremental jobs, i specificially want to change the retenion period for all of my incremental backup jobs.
I am thinking something along these lines, but i am not yet successfull.
Get-BEBackupDefinition -Name "Name" | Set-BEIncrementalBackupTask
Thank you for your help.
Ajhstn
You need to save the changes like so
Get-BEBackupDefinition -Name "Name" | Set-BEIncrementalBackupTask | Save-BEBackupDefinition
You would need to have the appropriate switches for each of the cmdlets.
Have you tried the DiskStorageKeepForHours parameter for the Set cmdlet?
If you are using tape or disk cartridges, then you only need to modify the OPP in the media set.