Networker

Re: [Networker] Scripts for labeling tapes

2005-10-17 14:50:46
Subject: Re: [Networker] Scripts for labeling tapes
From: Scott Clous <Scott.Clous AT CCCI DOT ORG>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 17 Oct 2005 14:41:40 -0400
I have some if you are interested, email me.
Here's the basic idea, for windows.
This is a batch file, the perl script we use invokes this in part.

"
:: Labels tapes for Default Clone  pool and marks as appendable
:: usage:  dclabel [slots]    eg:  alabel 21 23 65 92

if not .%1 == . nsrjb -L -Y -b"Default Clone" -S %1


if not .%2 == . nsrjb -L -Y -b"Default Clone" -S %2


if not .%3 == . nsrjb -L -Y -b"Default Clone" -S %3


if not .%4 == . nsrjb -L -Y -b"Default Clone" -S %4


if not .%5 == . nsrjb -L -Y -b"Default Clone" -S %5


if not .%6 == . nsrjb -L -Y -b"Default Clone" -S %6


if not .%7 == . nsrjb -L -Y -b"Default Clone" -S %7


if not .%8 == . nsrjb -L -Y -b"Default Clone" -S %8


if not .%9 == . nsrjb -L -Y -b"Default Clone" -S %9


" 

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
On Behalf Of Adam
Sent: Monday, September 26, 2005 10:44 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Scripts for labeling tapes

Has anyone written a perl script to relabel tapes on a library? I'm
looking for script that will scan the library slots, email sysadmin for
the appropriate tapes to be inserts, and relabel them. I'm trying to
automate my weekend full backups instead of using the networker admin
gui. 

Thanks.
Adam

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

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>
  • Re: [Networker] Scripts for labeling tapes, Scott Clous <=