Networker

Re: [Networker] Removing a barcode from a volume listing?

2006-05-15 17:56:05
Subject: Re: [Networker] Removing a barcode from a volume listing?
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 15 May 2006 14:52:29 -0700
> Is there a way to change the bar code reported for a volume to a blank 
> or null?

I know of no programmatic way to do that.

> I have a tape that I recycled with no physical bar code. I had "Bar code 
> reader" set to 'No' and "Match bar code labels" set to 'No',  and no 
> physical bar code label was used on the tape (the old one was removed). 
> Ordinarily, that would be fine, but NetWorker will assign the bar code 
> from the old volume to the new one unless I first remove the old volume 
> from the listing. I meant to do that, but I forgot, and now the tape has 
> been written to, so I can't  re-label it. If I don't have a bar code 
> label to match the actual new label on the tape, is there a way I can 
> remove the bar code that NetWorker reports for this volume? It must be 
> stored in the media database.

Yes, but I've never found an interface to it.  The only things I can
think up to do this would be:

*) Find a barcode capable reader.  Put the tape in (with no barcode) and
   reinventory.  The media database will update with no barcode.

*) Delete the volume from the database and scan the volume back in.
   When recreated, it shouldn't put a barcode in place.

*) Hack around in the media database and null out the barcode.  

The last obviously is not my initial recommendation for a production
database.  But I might try it on a test server.
-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

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