Subject: Re: amanda permission denied
From: Anthony Valentine (amv@sbsalaska.com)
Date: Wed Aug 06 2003 - 10:49:54 AKDT
Mike,
If you are using Amanda 2.4.3 or greater, you can specify the exclude
directories in your disk list, like so:
#Host		     Directory		Options
mis3.sbsalaska.com   /home/amv          {
                                        program "GNUTAR"
                                        exclude append "./mp3"
                                        exclude append "./ogg"
                                        } 1
Then run 'amadmin <config> disklist <host> <directory>' to check the
config:
# amadmin gemini disklist mis3.sbsalaska.com /home/amv
line 2:
    host mis3.sbsalaska.com:
        interface default
    disk /home/amv:
        program "GNUTAR"
        exclude file "./mp3" "./ogg"     <--- Note the exclude list.
        priority 1
        dumpcycle 7
        maxdumps 10
        maxpromoteday 10000
        strategy STANDARD
        compress CLIENT FAST
        comprate 0.50 0.50
        auth BSD
        kencrypt NO
        holdingdisk YES
        record YES
        index NO
        skip-incr NO
        skip-full NO
Good luck!
Anthony Valentine
> > I am trying to use amanda to backup my /home directory.  I don't want
> > the whole /home directory...I want to exclude one directory in it.
> > 
> > I tried using the exclude feature but when i run the amcheck I get.
> > 
> > ERROR: localhost: [Can't open exclude file
> > '/home/barsalou/amanda.exclude': Permission denied]
> > 
> > 
> > I am not exactly sure what I need to do.  do I need to give execute
> > permission to world so it can read the exclude file?
> > 
> > Anyone successfully get this working?
> > 
> > Mike
> > -- 
> > Barsalou <barjunk@attglobal.net>
> > 
> > ---------
> > To unsubscribe, send email to <aklug-request@aklug.org>
> > with 'unsubscribe' in the message body.
> > 
-- Anthony Valentine <amv@sbsalaska.com> --------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.
This archive was generated by hypermail 2a23 : Wed Aug 06 2003 - 13:03:57 AKDT