Be careful with that method. If you're deriving the slot list from elsewhere
(for a script), make *sure* that a list exists before passing it down.
By default, an empty slot list assumes 'the entire jukebox.'
I decided that this was too risky, and labels of blind slots are not scripted
(unless basic volume data is passed into nsrjb upon import, which AlphaStor
does; *then* I can reference by 'Tag').
--TSK
-----=====-----
Tim Kimball, Sungard/BRASS
RandyCD wrote:
> -Y Disables confirmation prompting.
> Ah, Yes there is:
>
> -Y Disables confirmation prompting. Rather than prompting for
> confirmation, a yes answer is assumed. Prompts are normally
> generated when a volume is being relabeled before its expira-
> tion date, or when a volume is still registered in the Net-
> Worker media database. If the operation is to label ( -L ) a
> volume or to load ( -l ) a volume, with the -R option also
> specified, and the volume is recyclable, there is no prompt to
> confirm whether the volume may be overwritten.
>
> Randy
> ________________________________
> From: erancx <networker-forum < at > BACKUPCENTRAL.COM>
> To: NETWORKER < at > LISTSERV.TEMPLE.EDU
> Sent: Thursday, February 26, 2009 4:52:43 PM
> Subject: [Networker] Auto labeling with nsrjb
>
> Hey,
>
> I'm using the following command in order to label my tapes:
> nsrjb -s <server> -L -b <label> -v -R -S <slot>
>
> My problem is if one of the slots is already labeled, then it keeps asking me
> for this question:
> "Label `<LABEL>' is a valid NetWorker label. Overwrite it with a new label?"
>
> Is there any flag for answering 'yes' automatically?
>
> Thanks!
>
+----------------------------------------------------------------------
|This was sent by t.s.kimball AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
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 with 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
|