Re: [Networker] Finding a tape
2006-08-03 13:44:45
> GROUP_NAME=$(ptree $$ |fgrep savepnpc |sed 's/.*-g
> \([a-zA-Z]\{1,\}\).*/\1/')
> mminfo -v -t "$(echo "show last start\nprint type:nsr group;
> name:${GROUP_NAME}\n" | nsradmin -i - | \
> awk -F\" '{print $2}')" -r volume
>
> I think this should give me exactly what I want (with the understanding of
> the caveat given by Darren).
>
> The actual script needs the volumes to generate a report on all the saveset
> IDs for the save group for the given backup:
If you really want the saveset ids, ask for them directly rather than
the volumes.
Replace -r volume above with -r ssid and you'll get them without having
to go through another step.
--
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
|
|
|