Re: [Veritas-bu] Tracking Tape Eject

2007-09-12 Thread Mark.Donaldson
It wouldn't be very had to make a script that used vmquery -rn X to
query the daily contents of the library, compare against a list stored
yesterday, and report what had been removed and injected during the
previous cycle.

#!/bin/sh
PATH=$PATH:/usr/openv/volmgr/bin
PROG=`basename $0`
for r in `tpconfig -l | awk '$1==robot {print $2}'`
do
  vmquery -rn $r -w | awk 'NR3 {print $1} /var/tmp/$PROG.$r.tmp
  if [ -f /var/tmp/$PROG.$r.hist ]
  then
echo Removed from library $r
diff /var/tmp/$PROG.$r.hist /var/tmp/$PROG.$r.tmp | awk '$1==
{print $2}'
echo Added to library $r
diff /var/tmp/$PROG.$r.hist /var/tmp/$PROG.$r.tmp | awk '$1==
{print $2}'
  fi
  mv /var/tmp/$PROG.$r.tmp /var/tmp/$PROG.$r.hist
done

It can be made a bit prettier but it's functional.

HTH - M

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of UlrichJU
Sent: Wednesday, September 12, 2007 5:27 AM
To: VERITAS-BU@mailman.eng.auburn.edu
Subject: [Veritas-bu] Re: Tracking Tape Eject


I'm using version 6.0 and vault does not work without a license key.  We
tested it once, but my company did not want to pay for it.

+--
|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+--


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

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


Re: [Veritas-bu] Tracking Tape Eject

2007-09-11 Thread Mark.Donaldson
What version are you using?  Vault has been included since v5. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of UlrichJU
Sent: Sunday, September 09, 2007 5:31 AM
To: VERITAS-BU@mailman.eng.auburn.edu
Subject: [Veritas-bu] Re: Tracking Tape Eject


That would be great if I had Vault, but I do not.  I have to do things
more manually around here.

+--
|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+--


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

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


Re: [Veritas-bu] Tracking Tape Eject

2007-09-08 Thread Martin Ruslan
You can use Vault option for this.
It will track it for you.. ;)

Regards,
mTz


On 9/7/07, UlrichJU [EMAIL PROTECTED] wrote:


 Is there a log in Netbackup that logs when tapes are ejected.   I just
 want to be able to track when people take tapes out or put new ones in.   It
 would be nice to know when I am troubleshooting issues involving why did
 Netbackup use that tape and not this one.   I spent hours looking for a
 reason why only to find out later that it had been pulled from the library.

 Julie

 +--
 |This was sent by [EMAIL PROTECTED] via Backup Central.
 |Forward SPAM to [EMAIL PROTECTED]
 +--


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

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


[Veritas-bu] Tracking Tape Eject

2007-09-06 Thread UlrichJU

Is there a log in Netbackup that logs when tapes are ejected.   I just want to 
be able to track when people take tapes out or put new ones in.   It would be 
nice to know when I am troubleshooting issues involving why did Netbackup use 
that tape and not this one.   I spent hours looking for a reason why only to 
find out later that it had been pulled from the library.

Julie

+--
|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+--


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