Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Eject Tape

Status
Not open for further replies.

JG5

MIS
Nov 18, 2001
171
US
Is there a way to have Legato 6.1.1 auto eject a tape after the backup job is complete?

Thanks.
 
In my enviroment, I need to write a perl script which detect several groups completion status and then clone all the save set. At the end of the script, it issue a "nsrjb -u" Networker command to eject all tapes from drives.
 
Youo can try to modify the Notification so that extra to sending a mail (default) would also unload the drives:

Original:

/usr/bin/mail -s "timna1's savegroup completion" root

Changed:

/usr/bin/mail -s "timna1's savegroup completion" root; nsrjb -u -f /dev/rmt0; nsrjb -u -f /dev/rmt1; "Long live king Moshiach !"
h
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top