Amanda-Users

Re: Strange amverify behaviour with amanda 2.4.5

2006-02-27 16:13:11
Subject: Re: Strange amverify behaviour with amanda 2.4.5
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Mon, 27 Feb 2006 16:02:42 -0500
On Mon, Feb 27, 2006 at 06:36:55PM +0000, Tony van der Hoff wrote:
> On 27 Feb, in message <200602271122.55827.gene.heskett AT verizon DOT net>, 
> you
> wrote:
> 
...

> This fails:
> 
> define dumptype root-tar {
>     global
>     program "GNUTAR"
>     comment "root partitions dumped with tar"
>     compress none
>     exclude file optional append "*/tmp"
>     priority low
>     dumpcycle 0
> }
> 
> define dumptype comp-root-tar {
>     root-tar
>     comment "Root partitions with compression"
>     compress client best
> }
> 
> define dumptype comp-var-tar {
>     root-tar
>     comment "var partitions with compression"
>     compress client best
>     #exclude list "/usr/local/etc/amanda/SysDumps/exclude"
>     exclude file optional append "/var/spool"
> }

Don't think it has anything to do with your problem, just a comment.

While "exclude list" can be specified absolute or relative,
"file" is specified relative to the starting directory of the DLE.
It is not supposed to be an absolute path.  You show two DLEs with
dumptype comp-var-tar, one starts at /var, the other at /var/www.
For the first the exclude file should be "./spool".  For the second
it doesn't matter since /var/spool is not within /var/www.  But if
there is a /var/www/spool, that would be excluded by the same line.

BTW you seem to be backing up /var/www twice, once in its own DLE,
once as part of the /var DLE.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>