cancel
Showing results for 
Search instead for 
Did you mean: 

Client Backups Report through command line

Baski
Level 5
Partner Certified

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,

1 ACCEPTED SOLUTION

Accepted Solutions

Andy_Welburn
Level 6

DOCUMENTATION: What are the different fields in "bpimagelist -l" output?
http://www.symantec.com/business/support/index?page=content&id=TECH5584

Elapsed 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.

View solution in original post

3 REPLIES 3

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Backup Status Report
The Backup Status report shows status and error information on jobs completed within the specified time period. If an error has occurred, a short explanation of the error is included.  
# cd /usr/openv/netbackup/bin/admincmd
# ./bperror -U -backstat -s info [-d <start_date> <start_time> -e <end_date> <end_time>]

Andy_Welburn
Level 6

DOCUMENTATION: What are the different fields in "bpimagelist -l" output?
http://www.symantec.com/business/support/index?page=content&id=TECH5584

Elapsed 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.

Baski
Level 5
Partner Certified

Hi Andy,

 

Very good command information mate. Thanks for your help..