Modifying all job properties via scripts?
Hi y'all.
We're running Backup Exec 2014 (14.1, Rev. 1786) on Windows Server 2008 R2 Std. x64.
My team inherited a number of backup jobs created by folks who moved on.
One of the things we'd like to do is modify all the jobs so they email and/or page us when there is a job error or failure.
There are about 100 different jobs, hence the desire for a script.
The only properties of the jobs we want to change at this time is to add 2 users and a pager to the job notification properties.
Can this be done via powershell or BEMCLI? Anyone have any examples of a script which does something like this?
Thanks, in advance, for the advice.
Gary
You can use the BEMCLI Get-BEBackupDefinition cmdlet to get the backup definitions, modify them and then use the Save-BEBackupDefinition cmdlet to save the modified definitions.