Hi,

ok, amreport now works if I use it at commandline, but amdump didnt found the 
tapes tonight. In the taper debug log I found:

/Thu Jul  4 22:00:28 2013: thd-0x2406c00: taper: Slot {372,372} with label  do 
not 
match labelstr/
/Thu Jul  4 22:00:28 2013: thd-0x2406c00: taper: warning: Use of uninitialized 
value $f_type in numeric eq (==) at 
/usr/local/share/perl/5.14.2/Amanda/ScanInventory.pm line 590./

/Thu Jul  4 22:00:28 2013: thd-0x2406c00: taper: warning: Use of uninitialized 
value $label in pattern match (m//) at 
/usr/local/share/perl/5.14.2/Amanda/ScanInventory.pm line 590./

/Thu Jul  4 22:00:28 2013: thd-0x2406c00: taper: warning: Use of uninitialized 
value $params{"label"} in concatenation (.) or string at 
/usr/local/share/perl/5.14.2/Amanda/Taper/Scribe.pm line 1785./


amanda@dl380-54:/tmp/amanda/server/mirror$ grep 372 
/etc/amanda/mirror/tapelist

0 {D00372,D00372} reuse BARCODE:{D00372,D00372} BLOCKSIZE:32

-- 
Regards
Dennis



> On 07/04/2013 08:16 AM, Dennis Benndorf wrote:
> > Hi,
> > 
> > amreport seems to have a problem with my labelstring while amcheck
> > does not:
> > 
> > amanda@dl380-54:~$ amreport mirror
> > 
> > Hostname: dl380-54
> > 
> > Org : Tagesbackup
> > 
> > Config : mirror
> > 
> > Date : July 3, 2013
> > 
> > These dumps were to tapes {D00224,D00224}, {D00231,D00231},
> > {D00249,D00249}.
> > 
> > There are 734565M of dumps left in the holding disk.
> > 
> > They will be flushed on the next run.
> > 
> > amreport: regex "^{D0[0-9]*,D0[0-9]*}$": Invalid preceding regular
> > expression
> 
> '{' is a special character in a regex, but you want a real '{', it must
> be escaped, and as amanda use escaped string, you must escape it twice:
> 
>    labelstr "^\\{D0[0-9]*,D0[0-9]*\\}$"
> 
> Jean-Louis
> 
> > P.S. amanda 3.3.4 is already installed.
> > 
> > 
> > Regards
> > 
> > Dennis

Reply via email to