Networker

Re: [Networker] Finding a tape

2006-08-02 11:48:22
Subject: Re: [Networker] Finding a tape
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 2 Aug 2006 08:47:58 -0700
> Thanks for all the quick replies but I don't think I was being clear (in
> fact I know I wasn't).
> 
> I have a script that is fired off by a savegroup compleation notification
> and within it, I would like to deturmine the volumes used by said savegroup
> (and only said savegroup).

Nothing automated.

You can use 'nsradmin' to find when the group started.

You can use mminfo to find savesets/volumes used by the group since it
last started.

printf "show start time\nprint type:nsr group;name: mygroup\n" | nsradmin -i -

(feed that into a variable)

mminfo -av -q 'sscreate>(start time),group=mygroup' -r 'volume'


-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

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