Veritas-bu

[Veritas-bu] Automating NBU ejects w/vmchange - Solaris

2009-12-18 14:01:10
Subject: [Veritas-bu] Automating NBU ejects w/vmchange - Solaris
From: fullejn <netbackup-forum AT backupcentral DOT com>
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Date: Fri, 18 Dec 2009 14:01:02 -0500
I am currently using this one-liner to eject all tapes from a list. It works in 
that I can build a tape list and save me the headache of entering tape # by 
tape #, but I still have the aggravation of having to interact with the command 
as it prompts me to confirm every eject with a keystroke.

Does anyone know a way to bypass this so I don't have to sit in front of the 
terminal hitting the enter key all day?

for line in $(cat ./1); do vmchange -res -multi_eject -w -verbose -rn 1 -rt tld 
-rh backup1 -vh backup1 -ml $line; done

+----------------------------------------------------------------------
|This was sent by joshua.n.fuller AT lmco DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

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