Amanda-Users

Re: Disklist - partial directory backup - advice please

2002-08-19 16:26:49
Subject: Re: Disklist - partial directory backup - advice please
From: John Ouellette <ouellet AT amnh DOT org>
To: Gene Heskett <gene_heskett AT iolinc DOT net>
Date: Mon, 19 Aug 2002 16:12:31 -0400 (EDT)

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'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]
> >Sent: 19 August 2002 16:11
> >To: amanda-users AT amanda DOT org
> >Subject: Re: Disklist - partial directory backup - advice please
> >
> >
> >
> >Hi Kevin,
> >
> >Are you using Amanda 2.4.3b3?  I think there is a bug in the
> > 'exclude' lists in the definition of dumptypes (including the
> > inline exclude lists like you're using) for that version.  The
> > bug causes the dumps to fail, at least it does in my case.
> >
> >How to work around your problem without using exclude lists, I'm
> > not sure, although you might try 'include' lists -- I'm not sure
> > if the same bug affects these.
> >
> >J.
> 
> 

-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
John Ouellette                     | Ph: 212-313-7919 
Department of Astrophysics         | Fax: 212-769-5007 
American Museum of Natural History | e-mail: ouellet AT amnh DOT org
Central Park West at 79th St.      | http://research.amnh.org/astrophysics
New York, NY  10024-5192           |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++