Amanda-Users

Re: Problems with labelstr

2003-01-16 12:15:18
Subject: Re: Problems with labelstr
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 16 Jan 2003 11:42:37 -0500

Please send only ascii messages, html unappreciated.


On Thu, Jan 16, 2003 at 09:50:35AM -0600, Dan Spray wrote:
> Hello all,
>  
> I am new to Amanda and have been following 
> http://www.backupcentral.com/amanda.html to the "T" to get Amanda 
> setup and working.  In chapter 12 it says to run "# su amanda - c
> "amlabel Daily Daily-123 slot 123"" when I do I get:
>  
> [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]*$"

You have told amanda every tape label will include the string "Set1"
then the number.  You actually are trying to use a "-", not "Set1".


-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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