09-22-2013 05:25 PM
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
Solved! Go to Solution.
09-22-2013 06:13 PM
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.
09-22-2013 09:34 PM
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.
09-22-2013 06:13 PM
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.
09-22-2013 09:12 PM
Hi Pkh,
thank you for your reply. I understand i need to pipe to Save-BE... but my question is which is the correct cmdlet and parameter to use to change the retenion period for an incremental job?
09-22-2013 09:34 PM
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.