On Mon, Sep 26, 2005 at 10:44:12AM -0400, Adam wrote:
> 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.
I don't have a script to show as an example, but I gave up using the
networker admin gui to administer the jukebox a long time ago. The
nsrjb command line tool is really powerful and does everything you'd
need to do -- with the benefit of using concurrent drives and being able
work on non-concurrent slots on the same command. For example,
nsrjb -I -S 4 -S 11-20 -S 55-60
would use all of your available drives (except for one, in case it was
needed for restores, and that's configurable,) and inventory all of
those slots. On our old library, without a functioning barcode reader,
that single command saved me a TON of time over using the nwadmin gui.
Dave
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
|