Veritas-bu

[Veritas-bu] Re: Script or command to check for tapes that sh ould be offsite

2005-11-07 10:16:25
Subject: [Veritas-bu] Re: Script or command to check for tapes that sh ould be offsite
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Mon, 7 Nov 2005 08:16:25 -0700
This makes a huge assumption that your tape labeling contains, in some way,
the word "offsite" (in all lower-case, too).

The reason I didn't replay back to this post quickly, since you know my ears
perk up with the word "script, is that it's not really possible to determine
this give the information you supplied.

Determining what sent your tape offsite in the first place is critical to
finding the tapes that have returned and now need to be sent offsite again.


If it's all just retention periods and "date last used", then it's going too
be queries through the media databases to get retention times,
full/suspended/frozen status, etc.

Some more details are in order, please.

-M

-----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 ed
Sent: Friday, November 04, 2005 2:32 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Re: Script or command to check for tapes that
should be offsite


On Thu, 2005-11-03 at 23:36 -0600, veritas-bu-
request AT mailman.eng.auburn DOT edu wrote:

> Date: Thu, 3 Nov 2005 12:56:42 -0600
> From: "Lewick, Taylor" <tlewick AT hrblock DOT com>
> To: <veritas-bu AT mailman.eng.auburn DOT edu>
> Subject: [Veritas-bu] Script or command to check for tapes that should be
offsite
> 
> This is a multi-part message in MIME format.
> 
> ------_=_NextPart_001_01C5E0A8.544D1ACC
> Content-Type: text/plain;
>       charset="US-ASCII"
> Content-Transfer-Encoding: quoted-printable
> 
> Does someone have a script or an easy way to check for tapes that should
> be offsite.  I.e, a 3 year backup that was ran, sent offsite, requested
> back for a restore, and then we forgot to send it back offsite so it's
> stuck in the library?
> 
Here is a quick and dirty to do what you want, plus it will give you a
count of all the media you have offsite:

vmquery -a -bx | tail +3 | grep offsite | sort +0 >/tmp/offsite.out
echo " ">>/tmp/offsite.out
echo " Total offsite media">>/tmp/offsite.out
vmquery -a -bx | tail +3 | grep offsite | wc -l >>/tmp/offsite.out

If you go to my web site http://gurski.com/netbackup.php I will be
posting a more elegant version which will include a formatted report. I
should have it up there by 11:00 am EDT on 11/04/2005. The script will
be called ebs_offsite (Enterprise Backup System)....

There are lots of other scripts there as well....


-- 
ed <ed AT gurski 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>
  • [Veritas-bu] Re: Script or command to check for tapes that sh ould be offsite, Mark.Donaldson AT cexp DOT com <=