The Jobs in Storage Policy Copies report displays all jobs that ran for the specified storage policy and the specified storage policy copy.
Running the Report
-
Open the command prompt and navigate to the <software installation path>\Base> folder.
-
Enter qlogin, and then enter your user name and password.
-
Run the following command:
qoperation execscript -sn QS_JobsinSPCopy -si @i_fromTime='start time for the report in the format yyyy/mm/dd' -si @i_toTime='end time for the report in the format yyyy/mm/dd' -si @i_isAged='include or exclude aged jobs' -si @i_backupType='include full, incremental, or both backup types' -si @i_orderBy='how to arrange report information' -si @i_policyName='name of the storage policy' -si @i_copyName='name of the storage policy copy' -si @i_retention='include jobs based on the type of retention policy'The report is saved to the location that you specified.
Example
qoperation execscript -sn QS_JobsinSPCopy -si @i_fromTime='2013/09/01' -si @i_toTime='2013/10/15' -si @i_isAged='0' -si @i_backupType='Full' -si @i_orderBy='JobID' -si @i_policyName='Stor_Pol_1' -si @i_copyName='Stor_Pol_Copy_1' -si @i_retention='0'For more information about the execscript command, see Command Line Interface - CommServe - Qoperation Execscript.
Usage and Help
-
Open the command prompt and navigate to the <software installation path>\Base> folder.
-
Enter qlogin, and then enter your user name and password.
-
Run the following command:
qoperation execscript -sn QS_JobsinSPCopy -help
Parameters
The report script includes several parameters that you can set, according to your needs. Parameters for the Jobs in Storage Policy Copies report include the following:
|
Parameter |
Description |
Default Setting |
|
i_fromTime |
Date format: MM/DD/YYYY. Specifies the date on which to begin the report. |
All |
|
i_toTime |
Date format: MM/DD/YYYY. Specifies the date on which to stop the report. |
All |
|
i_isAged |
Numeric value. Indicates whether to include aged jobs. Options include the following:
|
0 |
|
i_backupType |
Text only. Specifies the types of backups that appear in the report information. Options include the following:
|
All |
|
i_orderBy |
Text only. Specifies the type of information that determines the order of the rows. Options include the following:
|
JobID |
|
i_policyName |
Specifies the name of the storage policy that is included in the report. The report displays all copies for the specified storage policy. |
All storage policies on the CommCell computer. |
|
i_copyName |
Specifies the storage policy copy that appears in the report. The report displays information for only the specified storage policy copy. If you specify the copyName parameter, you must also specify the policyName parameter. |
All storage policy copies for the specified storage policy. |
|
i_retention |
Numeric value. Indicates the types of retention jobs that appear in the report. Options include the following:
|
0 |