Video Screencast Help

BemCLI: Get Exception List of a backup job

Created: 31 Jan 2013 • Updated: 19 Mar 2013 | 4 comments
This issue has been solved. See solution.


i wasn't able to get the exceptions of a Job via the BemCLI like I see them in the GUI of BackupExec 2012 under "Job Log"/"Exceptions".

Has anyone an idea how to get a list of the exception during the runtime of a job? 

Kind regards

Comments 4 CommentsJump to latest comment

Gurvinder Rait's picture

can you post both the job logs and what command are you running to get this result.

pkh's picture

I am not aware of any BEMCLI cmdlet which will give you the list of exceptions whether while the job is running or after the job.  After the job completes, you can get the job log with BEMCLI and examine it.  The exceptions would be in the joblog.

lufist's picture


thanks for your reply. 

Get-BEJobHistory "<JobName>" | Get-BEJobLog

did the trick. The output format can be controlled with the parameter -OutputStyle

I want to parse a part of the output and use it in our monitoring script in Microsoft Powershell. The output in txt and html format isn't easy to parse. Isn't there a more reliable and more easy to parse possibility to get the job log? 

pkh's picture

One of the parameters in the Get-BEJobHistory output is the JobLogFilePath.  You can use this to get the joblog in XML format and then use the XML parser in Powershell to parse the file for easier extraction and analysis.