Amanda-Users

Re: Problem with includes, with workaround - is this a bug?

2004-09-09 15:16:33
Subject: Re: Problem with includes, with workaround - is this a bug?
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: "Andreas Lund" <floyd AT atc DOT no>
Date: Thu, 9 Sep 2004 15:12:14 -0400
On Thursday 09 September 2004 14:31, Andreas Lund wrote:
>I set my DLE up like this to try and split a 430Gb area so it can
> fit on my 40Gb tapes, similar to what's described in Chapter 18 of
> the ALPHA docs, under "the size-question":
>
>archimedes.atc.no       home-a          /mnt/san0  {
>        high-pri-tar
>        include "./home/[a]*"
>}       3
>
>This appeared to pass OK with amadmin but amcheck would complain
> about "no includes" although the wildcard is valid and matches
> actual disk contents.
>
>I had to change it like this for things to work as expected:
>
>archimedes.atc.no       home-a          /mnt/san0/home  {
>        high-pri-tar
>        include "./[a]*"
>}       3
>
>This works for my particular situation but it looks to me like a
> serious problem with how includes are parsed.
>
Not really, and I believe its not amanda, but tar that imposes the 
limits on this.  To tar, everything is relative to the directory its 
currently processing, so the correct syntax there is indeed the 
"./[a]*" (and the dbl quotes might even be optional.
>
>(Running Amanda 2.4.4p2 on i386-redhat-linux)
>
>
>--
>Andreas Lund (floyd AT atc DOT no)
>Tel: +47 90.07.71.62 / +47 63.88.33.56
>Ano-Tech Computers (http://www.atc.no/)
>** He had a baseball bat and I was tied to a chair.
>** Pissing him off was the smart thing to do.  -- Max Payne

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.25% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.