cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying all job properties via scripts?

GaryGg
Level 2

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

pkh
Moderator
Moderator
   VIP    Certified

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.

View solution in original post

1 REPLY 1

pkh
Moderator
Moderator
   VIP    Certified

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.