Description
This command displays the summary details of all previous backup jobs completed by a specific client, instance, backup set or subclient. Whenever more than one job is found, the name of each backup job is listed in its own line. The message, "No job found," is displayed on the command prompt whenever backup jobs are not found.
In case of an error, an error code and description are displayed as: "lastjob: Error errorcode: errordescription"
Usage
qlist lastjob -c <client> -a <iDataAgent> -i <instance> -b <backupset> -s <subclient> [-js <jobstatus>] [-tf <tokenfile>] [-tk <token>] [-h]
Options
-c |
Client computer name |
-a |
Agent type installed on client computer (see Argument Values - Agent Types) |
-i |
Instance name, required for certain agents |
-b |
Backup set name, required for certain agents |
-s |
Name of the subclient |
-js |
The completion status of the job. Use this option to see the last backup job that completed with a particular status. Valid values for this option are:
|
-tf |
Reads token from a file |
-tk |
Token string |
-h |
Displays help |
Diagnostics
Possible exit status values are:
0 - Successful completion.
1 - CLI usage failures, due to the use of an unsupported option or missing argument.
2 - Any other failure.
Example
Display the last backup job that ran under client client01.
qlist lastjob -c client01
JOBID STATUS STORAGE POLICY APPTYPE BACKUPSET SUBCLIENT INSTANCE START TIME
----- ------ -------------- ------- --------- --------- -------- ----------
101 Completed SP_12 Filesystem set001 Sub01 <default> 01/01/2013 01:20:55