On Tue, May 02, 2017 at 05:46:26AM +0200, Uwe Menges wrote: > On 05/02/17 03:19, Luc Lalonde wrote: > > Since upgrading to 3.4.3 I seem to having problems with Amanda recognizing > > my tapes. > > > > Here’s the ‘labelstr’ directive in my ‘amanda.conf’: > > labelstr "^000[0-9][0-9][0-9]*” > > This worked fine when I was running version 3.3.4-1… But now, I’m getting > > errors. > > > > Here are examples of some of my labels: > > > > 000253L5 > [...] > > 000219L > > This wasn't a proper match before, according to > http://wiki.zmanda.com/man/amanda.conf.5.html `labelstr` is "The tape > label constraint regular expression." > The 'L' isn't mentioned in your regex (maybe you meant it as glob, but > globs don't know '^').
Actually those are valid RE matches. The labelstr only says it must start with 3 zeros and 2 or more additional digits. It doesn't say anything about what is valid or invalid after the digits. jl -- Jon H. LaBadie [email protected] 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)
