Veritas-bu

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

2010-08-13 15:05:03
Subject: Re: [Veritas-bu] Need to find out which media server is backing up which client...
From: Joseph Despres <jdespres AT csc DOT com>
To: "stefanos" <smpt1 AT peppas DOT gr>
Date: Fri, 13 Aug 2010 15:04:54 -0400

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   |   jdespres AT csc DOT 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" <smpt1 AT peppas DOT gr>
To: "'Ed Wilts'" <ewilts AT ewilts DOT org>, Joseph Despres/USA/CSC@CSC
Cc: <veritas-bu AT mailman.eng.auburn DOT 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-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Ed Wilts
Sent:
Friday, August 13, 2010 8:48 PM
To:
Joseph Despres
Cc:
veritas-bu AT mailman.eng.auburn DOT 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 <jdespres AT csc DOT 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
ewilts AT ewilts DOT org
Image removed by sender.Linkedin
 
 

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