Amanda-Users

RE: Problems with labelstr

2003-01-16 13:12:47
Subject: RE: Problems with labelstr
From: "Dan Spray" <dan AT conpoint DOT com>
To: <amanda-users AT amanda DOT org>
Date: Thu, 16 Jan 2003 11:09:14 -0600

Thanks to all who helped with this problem.  I assumed that it was something along those lines, I guess I need to understand regular expressions better.

 

Now I am getting another error, I pasted it below if anyone knows what needs done differently.

 

Thanks in advance,

 

Dan

 

[root@ZEUS config]# su amanda -c "amlabel config Daily-Wed"

rewinding, reading label, not an amanda tape

rewinding, writing label Daily-Wed, checking labelamlabel: couldn't write tapelist: Permission denied

 

-----Original Message-----
From: donald.ritchey AT exeloncorp DOT com [mailto:donald.ritchey AT exeloncorp DOT com]
Sent:
Thursday, January 16, 2003 10:50 AM
To: dan AT conpoint DOT com; amanda-users AT amanda DOT org
Subject: RE: Problems with labelstr

 

Your label pattern is 'DailySet1[0-9][0-9]'

Your new pattern is  'DailySet-123'

 

Notice the '-' between 'DailySet' and '123'.

 

Be careful what you wish for, the computer will attempt to do whatever you told it to,  NOT what you THOUGHT you told it to.

 

Yes, we all do it.  That's what code reviews and help lists are for.

 

Don

Donald L. (Don) Ritchey
E-mail:  Donald.Ritchey AT exeloncorp DOT com

-----Original Message-----
From: Dan Spray [mailto:dan AT conpoint DOT com]
Sent:
Thursday, January 16, 2003 9:51 AM
To: amanda-users AT amanda DOT org
Subject: Problems with labelstr

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]*$"

 

Not sure what I am doing wrong or how to fix it.  Any help would be

greatly appreciated.

 

Thanks in advance,

 

Dan

 

--
Dan Spray, Director of Internet Operations dan AT conpoint DOT com
Connecting
Point Norfolk, NE <http://www.conpoint.com/>
Voice - 402.371.4530 x208 Fax - 402.371.4515

"The trouble with doing anything right the first time is that nobody appreciates how difficult it was!"

--

 



************************************************************************
This e-mail and any of its attachments may contain Exelon Corporation
proprietary information, which is privileged, confidential, or subject
to copyright belonging to the Exelon Corporation family of Companies.
This e-mail is intended solely for the use of the individual or entity
to which it is addressed. If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution,
copying, or action taken in relation to the contents of and attachments
to this e-mail is strictly prohibited and may be unlawful. If you have
received this e-mail in error, please notify the sender immediately and
permanently delete the original and any copy of this e-mail and any
printout. Thank You.
************************************************************************

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