Veritas-bu

[Veritas-bu] List of dupes?

2002-03-07 12:46:55
Subject: [Veritas-bu] List of dupes?
From: david AT xbpadm-commands DOT com (David A. Chapa)
Date: Thu, 7 Mar 2002 11:46:55 -0600
try this:

bpimmedia -d $DATE1 -e $DATE2 -class $CLASSNAME -l | awk '{ if ($2==2) print
$9}' | sort -u

this will find the images whose copy number are 2 within a particular class
within a particular date range and print out the media id for you.

David

<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
NetBackup Consultant
DataStaff, Inc.
http://www.consulting.datastaff.com
847 413 1144
---------------------------------------
NBU-LSERV AT datastaff DOT com - Adv. Scripting
http://www.xbpadm-commands.com

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Robert L.
Harris
Sent: Wednesday, March 06, 2002 9:50 PM
To: Veritas-BU
Subject: [Veritas-bu] List of dupes?




If I want to get a list of all media assigned to a certain server/class,
is there a command?  bpduplicate -PD gives some info but doesn't seem
like it's what I'm looking for.

Say I need to test a dupe and recover from the duplicate I ran 2 days
ago.  I don't have the log file written out so I don't know what tapes a
certain host/class went to, how do I find out?



:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :
Senior System Engineer          |    For when quality, reliability
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

_______________________________________________
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>