Client Backups Report through command line
Hi Team,
I want Client Backups Report from command line, I know # cd /usr/openv/netbackup/bin/admincmd
# ./bpimagelist -U [-A|-client name] [-d <start_date> <start_time> -e <end_date> <end_time>]
It gives as belwo
Backed Up Expires Files KB C Sched Type Policy
---------------- ---------- -------- -------- - ------------ ------------
But I need Elapsed time too.. How to get this from command line.
Ref link
http://www.symantec.com/business/support/index?page=content&id=TECH20462
Thanks,
DOCUMENTATION: What are the different fields in "bpimagelist -l" output?
http://www.symantec.com/business/support/index?page=content&id=TECH5584Elapsed time is one of the output fields....
Also, bpimagelist -L will give these fields in a more readable form.
You could be looking at a lot of output so may want to "filter" your results somehow!
e.g.
bpimagelist -l -d 06/07/2011 00:00:00 -e 06/08/2011 00:00:00 -client client | awk '/^IMAGE/ {print $2, $7, $15}'
will produce output only of client name, policy & elapsed time (seconds) for backups between those times.