Amanda-Users

Re: Problems with labelstr

2003-01-16 12:16:01
Subject: Re: Problems with labelstr
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Dan Spray <dan AT conpoint DOT com>
Date: Thu, 16 Jan 2003 11:39:56 -0500 (EST)
On Thu, 16 Jan 2003 at 9:50am, Dan Spray wrote

> [root@ZEUS /named]# su amanda -c "amlabel config Daily-123 slot 123"
> amlabel: label Daily-123 doesn't match labelstr "^DailySet1[0-9][0-9]
> *$"
>  
> My labelstr in my config file is:
>  
> labelstr "^DailySet1[0-9][0-9]*$"
>  
> Not sure what I am doing wrong or how to fix it.  Any help would be 
> greatly appreciated.

Err, it's telling you.  You specified (in your config file) a specific 
form for the label, and you tried to label a tape with something that 
doesn't match.

To get the label you want, you'd have to change labelstr to 
"^Daily-[0-9][0-9][0-9]*$".

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


<Prev in Thread] Current Thread [Next in Thread>