Loading...

Consecutive Job Failure Report

The Consecutive Job Failure Report lists the following:

  • Number of failed backup jobs (strikes) since the last failed backup job for each backup type on each subclient
  • Number of days that the backup job failed
  • Job ID from the last failed backup job

Multiple failed backup jobs for the same client on the same day count as one failure. A successful full backup job resets the strike count to zero. A day with at least one successful backup job is not counted as a strike.

Running the Report

  1. Open the command prompt and navigate to the <software installation path>\Base> folder.
  2. Enter qlogin, and then enter your user name and password.
  3. Run the following command:

    qoperation execscript -sn QS_BackupStrikes -si @BackupWindowFrom = '<time at which count begins>' -si @countSynthFull = '<include or exclude Synthetic Full backup jobs>' -format 'csv' –file '<output location and filename>'

    The report is saved in the location that you specified.

Example

To see a list of backup jobs that failed since the last full backup on each subclient, including synthetic full backup jobs, run the following command:

qoperation execscript -sn QS_BackupStrikes -si @BackupWindowFrom = '20:00' -si @countSynthFull = '1' -format 'csv' –file 'C:\Reports\sample.csv'

For more information about the execscript command, see Command Line Interface - CommServe - Qoperation Execscript.

Parameters

The report script includes several parameters that you can set, according to your information needs. Parameters for the Consecutive Job Failure Report include the following:

Parameter

Description

Default Setting

BackupWindowFrom

Time format: HH:MM. Specifies the backup window for the report.

The backup window is 24 hours. Therefore, the count begins at the time that you specify on the previous day and ends at the same time on the current day. If you want to see all backup jobs that occurred between 9:00 p.m. yesterday and 9:00 p.m. today, enter 21:00.

18:00

countSynthFull

This switch includes or excludes Synthetic Full backup jobs in the count. Options include the following:

  • Include: 1
  • Exclude: 0

0

format

Text only. Specifies the file format in which the report saves. Options include the following:

  • CSV

N/A

file

Text only. Specifies the location and name of the saved report.

N/A

Last modified: 8/16/2018 6:50:32 PM