Amanda-Users

Can't open exclude file ???

2004-01-28 10:12:50
Subject: Can't open exclude file ???
From: Michael D Schleif <mds AT helices DOT org>
To: amanda mailing list <amanda-users AT amanda DOT org>
Date: Wed, 28 Jan 2004 09:07:34 -0600
This does *not* appear to be Gene's problem of several days ago.

Yesterday, I reconfigured some disk, and reconfigured amanda to work
with the disk changes.

For nearly one year, I have used the following as a top level dumptype,
from which all others inherit:

   define dumptype global {
       comment "dat tapedrive, gnu tar"
       compress none
       exclude list optional ".amanda.excludes"
       holdingdisk yes
       index yes
       priority medium
       program "GNUTAR"
       record yes
   }   

Notice the `exclude list optional' line.

So, last night, I added the second line to the following:

   bragi.private.network / server-compress
   bragi.private.network /home/mds/mail important-fast-compress
   bragi.private.network /home/mds/tmp medium-fast-compress
   bragi.private.network /usr important-fast-compress

Now, since this addition, I get this:

   # sudo -u backup amcheck DailySet1 -cltw
   Amanda Tape Server Host Check
   -----------------------------
   Holding disk /space: 3704388 KB disk space available, using 3704388 KB
   Tape backup.015 is writable
   Tape backup.015 label ok
   Server check took 39.313 seconds

   Amanda Backup Client Hosts Check
   --------------------------------
   ERROR: bragi.private.network: [Can't open exclude file 
'/usr/local/home/mds/mail/.amanda.excludes': Permission denied]
   Client check: 2 hosts checked in 7.134 seconds, 1 problem found

   (brought to you by Amanda 2.4.4p1)


Notice the _working_ exclude under /usr:

   # ls -l /usr/local/home/mds/mail/.amanda.excludes
   -rw-------    1 backup   backup         59 Jan 28 01:00 
/usr/local/home/mds/mail/.amanda.excludes

   # ls -l /usr/.amanda.excludes 
   -rw-------    1 backup   backup         23 Aug  4 09:33 /usr/.amanda.excludes


When I comment OUT the `exclude list optional' line from conf, then I
get *NO* amcheck errors -- which is what I did for last night's backup.

What is the problem here?

What is the solution to that problem?

What do you think?

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: signature.asc
Description: Digital signature

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