cancel
Showing results for 
Search instead for 
Did you mean: 

How to find one week before Jobs end time for a client in GUI/ CLI

RaymT___
Level 4
Im new to this.....
Can any one help me to find out one week before  jobs end timings thro GUI / CLI. I have tried the report columns but it doesnt....
Also Is it possible to pull 10 days or last month jobs details. Normally how long data we can pull it thro GUI / CLI. 
3 REPLIES 3

Mouse
Moderator
Moderator
Partner    VIP    Accredited Certified

this article seems to be relevant to your task - http://seer.entsupport.symantec.com/docs/297142.htm

to convert time to human readable format you can use bpdbm -ctime or any unix time to date converter

rjrumfelt
Level 6
you want to view in the Activity Monitor, as well as the info kept in bpdbjobs for as long as you would like.

This information can be found in detail on about page 68 of the 6.5 Admin Guid for Unix.

You can modify the time that jobs are kept in the activity monitor by modifying the bp.conf file (unix) and adding the following line:

KEEP_JOBS_HOURS = xxx

For WIndows:

To change the default values on a permanent basis, use the following method to add new registry key(s) to

HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config

To add the key(s) safely, run the following commands. For example:

install_path\VERITAS\NetBackup\bin\admincmd\

echo KEEP_JOBS_HOURS = 192 | bpsetconfig

Where 192 is the number of hours that unsuccessful jobs are kept in the jobs database or Activity Monitor display.

For example, run:

echo KEEP_JOBS_SUCCESSFUL_HOURS = 192 | bpsetconfig

Where 192 is the number of hours that successful jobs are kept in the jobs

database or Activity Monitor display.

Changing the default on a permanent basis

Stumpr2
Level 6
# bpimagelist -help
USAGE: bpimagelist [-media] [-l|-L|-U|-idonly] [-tape]
           [-d mm/dd/yyyy HH:MM:SS] [-e mm/dd/yyyy HH:MM:SS] [-hoursago hours]
           [-keyword "keyword phrase"]
           [-client client_name] [-server server_name]
           [-backupid backup_id] [ [-option option_name] ... ]
           [-policy policy_name] [-pt policy_type]
           [-rl retention_level]
           [-sl sched_label] [-st sched_type]
           [-class_id data_classification_id_guid] [-stl_complete]
           [-stl_incomplete] [-stl_name storage_service_name]
           [-M master_server...] [-v]

# bpimagelist -U -client nbmedia03 -d 10/10/09 -e 10/20/09
Backed Up         Expires       Files       KB  C  Sched Type   Policy
----------------  ---------- -------- --------  -  ------------ ------------
10/20/2009 10:00  11/03/2009      137    78938  N  Differential NBU_NBMedia03
10/19/2009 10:00  10/19/2010   127387 20294742  N  Full Backup  NBU_NBMedia03
10/16/2009 10:00  10/30/2009      130    63676  N  Differential NBU_NBMedia03
10/15/2009 10:00  10/29/2009      132    62201  N  Differential NBU_NBMedia03
10/14/2009 10:00  10/28/2009      129    53801  N  Differential NBU_NBMedia03
10/13/2009 10:00  10/27/2009      132    53769  N  Differential NBU_NBMedia03
10/12/2009 10:00  12/13/2009   127393 20320232  N  Full Backup  NBU_NBMedia03