On Monday 19 August 2002 16:12, John Ouellette wrote:
>I've played around with the exclude lists for a while (as defined
> in the dumptypes) and have had no luck in getting any configs
> with exclude lists to work, whether I define the paths with the
> leading ./ or no....
>
>Kevin was using an exclude list defined in the disklist, but I
> assume it is the same code that parses this and passes it on to
> 'tar', so the same bug might exist.
>
>And, according to the docs and examples, you do need the quotes...
> (or get a parse error if you exclude them).
>
I'm not here, but I'm using an exclude file too, here it is:
---------------------
./usr/dumps/*
./var/pacct
---------------------
Also, I recall the filename didn't give the full path in your earler
example, which should look like this in your amanda.conf:
------------------------------------------
define dumptype root-tar {
global
program "GNUTAR"
comment "root partitions dumped with tar"
compress none
index yes
exclude list "/usr/local/etc/amanda/exclude.gtar"
priority low
}
define dumptype user-tar {
root-tar
comment "user partitions dumped with tar"
exclude list "/usr/local/etc/amanda/exclude.gtar"
compress server best
priority medium
}
-----------------etc, etc taking note that each "dumptype" can have
its own unique name-it-whatever-file.
>I've started to trudge through the code to see if the bug is
> obvious, but haven't managed to get far.
>
>J.
>
>On Mon, 19 Aug 2002, Gene Heskett wrote:
>> On Monday 19 August 2002 12:00, Kevin Passey wrote:
>> >Thanks John
>> >
>> >That is what I am using.
>> >
>> >I only what to omit the /dumps folders.
>>
>> Did you specify them as "./dumps" (without the quotes of course)
>> The missing leading dot in your line above says its your exclude
>> file thats broken. Tar's exludes are relative to the currently
>> being processed directory, hence the leading ./
>>
>> >I think I will have to create them in a separate partition.
>> >
>> >Thanks for that.
>> >
>> >Regards
>> >
>> >Kevin
>> >
>> >
>> >
>> >-----Original Message-----
>>
>> From: John Ouellette [mailto:ouellet AT amnh DOT org]
[...]
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.12% setiathome rank, not too shabby for a WV hillbilly
|