Sorry my mistake.

Use this. It will give you the client, backupID, mediaID and media server.

If you need only the client and the media server, delete the $6 from the
(IMAGE=$2" "$6) and if you do not want the tape delete the $9 from every
(FRAG=$9" "$10).

 

bpimagelist  -hoursago 24|awk ' 
BEGIN   { 
                FRAG="" 
                IMAGE="" 
                } 
/IMAGE / { 
                FRAG="" 
                IMAGE=$2" "$6 
                } 
/FRAG 1 1 / { 
                FRAG=$9" "$10 
                print IMAGE,FRAG 
                } 
/FRAG 2 1 / { 
                FRAG=$9" "$10 
                print IMAGE,FRAG 
                } 
/FRAG 3 1 / { 
                FRAG=$9" "$10 
                print IMAGE,FRAG 
                } 
/FRAG 4 1 / { 
                FRAG=$9" "$10 
                print IMAGE,FRAG 
                } 
END { print IMAGE,FRAG 
                     }' |sort |uniq

 

Stefanos

 

From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Joseph
Despres
Sent: Friday, August 13, 2010 10:05 PM
To: stefanos
Cc: 'Ed Wilts'; veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Need to find out which media server is backing up
which client...

 


Hey Stefanos.................. 

Now this is getting real close! 

Here's a snippet of the output  ::---> 

IMAGE ignsvsnwk001bck_1281646864 AS1028 cscbk06 
IMAGE ignsvsnwk001bck_1281697264 AS1098 cscbk06 
IMAGE ignsvsnwk002bck_1281646866 AS1028 cscbk06 
IMAGE ignsvsnwk002bck_1281697266 AS1098 cscbk06 
IMAGE ignsvsnwk003bck_1281646867 AS1028 cscbk06 
IMAGE ignsvsnwk003bck_1281697267 AS1098 cscbk06 
IMAGE ignsvsnwk004bck_1281646868 AS1028 cscbk06 
IMAGE ignsvsnwk004bck_1281697268 AS1098 cscbk06 

Looks like I might have to break about the image name so to get the client
name.... 

Joe Despres
Backup Engineer
CSC

3521 Ribcowski Ct  Raleigh, NC  27616
GIS  |   (o): 1.919.266.1799   |   (c): 1.919.931.9674   |
jdesp...@csc.com   |   www.csc.com
https://c3.csc.com/groups/netback

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement or
government initiative expressly permitting the use of e-mail for such
purpose. 




From: 

"stefanos" <sm...@peppas.gr> 


To: 

"'Ed Wilts'" <ewi...@ewilts.org>, Joseph Despres/USA/c...@csc 


Cc: 

<veritas-bu@mailman.eng.auburn.edu> 


Date: 

08/13/2010 02:46 PM 


Subject: 

RE: [Veritas-bu] Need to find out which media server is backing up which
client...

 

  _____  




Check this: 
It works with the database, so no worry about logs. 
It also works for up to 4 backup copies. 
Change the hoursago value 
  
bpimagelist  -hoursago 24|awk ' 
BEGIN   { 
                FRAG="" 
                IMAGE="" 
                } 
/IMAGE / { 
                FRAG="" 
                IMAGE=$1" "$6 
                } 
/FRAG 1 1 / { 
                FRAG=$9" "$10 
                print IMAGE,FRAG 
                } 
/FRAG 2 1 / { 
                FRAG=$9" "$10 
                print IMAGE,FRAG 
                } 
/FRAG 3 1 / { 
                FRAG=$9" "$10 
                print IMAGE,FRAG 
                } 
/FRAG 4 1 / { 
                FRAG=$9" "$10 
                print IMAGE,FRAG 
                } 
END { print IMAGE,FRAG 
                     }' |sort |uniq 
  
stefanos 
  
From: veritas-bu-boun...@mailman.eng.auburn.edu [
<mailto:veritas-bu-boun...@mailman.eng.auburn.edu>
mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Ed Wilts
Sent: Friday, August 13, 2010 8:48 PM
To: Joseph Despres
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Need to find out which media server is backing up
which client... 
  
On Fri, Aug 13, 2010 at 12:35 PM, Joseph Despres <jdesp...@csc.com> wrote: 

Looks like I opened my mouth and stuck my foot in it..... 

bperror doesn't look back 1 week... 

It can but the default is 3 days I think.  For longer-term reporting, look
at OpsCenter or a 3rd party reporting tool.

Ed Wilts, RHCE, BCFP, BCSD, SCSP, SCSE 
ewi...@ewilts.org 
 <http://www.linkedin.com/in/ewilts> Image removed by sender.Linkedin 
  
  

<<image001.jpg>>

_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to