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