Veritas-bu

[Veritas-bu] Script question - regarding duplication

2000-10-31 14:11:04
Subject: [Veritas-bu] Script question - regarding duplication
From: egml5 egml5 AT hotmail DOT com
Date: Tue, 31 Oct 2000 14:11:04 -0500
Steve,

This has pointed me in the right direction. I certainly 
appreciate your response, and I hope that others on 
the list will benefit from this information.

Regards,
egml5 AT hotmail DOT com

----- Original Message ----- 
From: "Bazinet, Steve" <Steve.Bazinet AT scb DOT com>
To: "'egml5'" <egml5 AT hotmail DOT com>; <veritas-bu AT Eng.Auburn DOT EDU>
Sent: Tuesday, October 31, 2000 10:43 AM
Subject: RE: [Veritas-bu] Script question - regarding duplication


> We have scripts that automate our whole duplication process...
> 
> All our duplication tapes are in a pool call Offsite.
> 
> Here is how I obtain the Media IDs used during the day for duplication..
> 
> bpmedialist -p Offsite | grep $(/usr/bin/date +%x) | awk '{ print $1 }'
> 
> In our env, we kick out all duplication tapes that were last updated
> today...
> 
> Hope this helps..
> 
> Steve Bazinet
> SCB Enterprise Solutions
> 480-348-7347
> Steve.Bazinet AT scb DOT com
> 
> 
> -----Original Message-----
> From: egml5 [mailto:egml5 AT hotmail DOT com]
> Sent: Monday, October 30, 2000 3:44 PM
> To: veritas-bu AT Eng.Auburn DOT EDU
> Subject: [Veritas-bu] Script question - regarding duplication
> 
> 
> I am looking for a command to output media id's
> containing duplicates written during a specified time period.
> I would like the output to be in the form of a bare list
> of the media id much like the output of
> 
> bpimagelist -media -idonly -hoursago 24
> 
> I am working on a session_notify script to
> automate our duplication process which includes performing
> bpexpdates on month-end and year-end duplicate backup media.
> If I can get a list of media id's that contain duplicates during a
> particular window of time - I will be able to then use them in the
> script to automate our duplication process.
> 
> My colleagues and I have sifted through many command-line
> options of NetBackup executables with no success.
> 
> The best thing we can come up with at this point is to:
> 
> bpimagelist -media -idonly -hoursago 24 >outputfile1
> Then run our bpduplicates.
> Then run another 'bpimagelist -media -idonly -hoursago 24 >outuptfile2
> and by comparing outputfile1 and outputfile2
> make the assumption that the media ids are for current daily
> duplicate media id's.  Using these results we could then change
> expiration dates of the duplicates.  I'm not sure this procedure
> will accurately determine duplicate media id's, and I believe
> there should be a more streamlined way to accomplish this task.
> 
> Any discussion on this topic online or offline is appreciated.
> 
> Regards,
> egml5 AT hotmail DOT com
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 



<Prev in Thread] Current Thread [Next in Thread>