On Saturday 21 September 2002 13:05, Martin Schwarz wrote:
>Hi Christoph,
>
>On Sat, Sep 21, 2002 at 06:32:03PM +0200, Christoph Scheeder wrote:
>> your exclude-list syntax is not correct....
>
>[...]
>
>> > [/etc/amanda/exclude.gtar]
>> > /disk-c1/martin/mac
>>
>> this should read
>>
>> ./mac
Correct.
>>
>> it is relative to the root stated in your disklist-entry.
>
>ah, so absolute paths are not possible here? Using an absolute
> path for the exclude-list file in the dumptype definition as I
> did, would then lead to the exclusion af ANY directory named
> "mac" on ANY filesystem that uses this dumptype? Not what I
> wanted...
No, the absolute path spec will be ignored. However, if you have a
"mac" directory you don't want skipped thats in a different
filesystem/partition, then one can copy the dumptype specification
to a slightly different name right there in your amanda.conf, and
point the disklist entry to that one, which uses a different
exclude file, or none at all.
>The solution seems to use a _relative_ definition of the
> exclude-list file as well:
>
>[amanda.conf]
>exclude-list ".amanda-exclude.gtar"
I don't know if that will work or not, I haven't tried it here. I
know, thats my fault :-)
>and
>[/disk-c1/martin/.amanda-exclude.gtar]
>./mac
>
>I'll try this and see if it works.
>
>Many thanks for your help,
>Martin
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.15% setiathome rank, not too shabby for a WV hillbilly
|