Amanda-Users

Re: "options" keyword in example dumptype definitions?

2005-03-06 11:36:12
Subject: Re: "options" keyword in example dumptype definitions?
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Sun, 06 Mar 2005 11:25:37 -0500
On Sunday 06 March 2005 09:09, Bruce S. Skinner wrote:
>I'm running amanda 2.4.4.p-2.2 on ubuntu linux, a debian based
> system with a version 2.6.8.1 kernel.  The example amanda.conf
> provided with my distribution uses a keyword "options" in the
> defined dumptypes.
>
>    # dumptypes
>    #
>    # These are referred to by the disklist file.  The dumptype
> specifies # certain "options" for dumping including:
>    #       index           - keep an index of the files backed up
>    #       compress-fast   - (default) compress on the client using
> fast algorithm #       compress-best   - compress using the best
> (and slowww) algorithm
>
>The comment snippet above is extracted from my example amanda.conf
> and implies that there are more arguments to "options" than are
> documented here.
>
>There is no mention of this keyword in the "DUMPTYPE SECTION" of man
>amanda(8) and the arguments to "options" appear to be redundant. 
> For example it appears to me that the following defines are
> identical:
>
>    define dumptype comp-user-tar {
>        program "GNUTAR"
>        comment "partitions dumped with tar"
>        options compress-fast, index, exclude-list
> "/etc/amanda/exclude.gtar" priority medium
>    }
>
>    define dumptype my-comp-user-tar {
>        program "GNUTAR"
>        comment "partitions dumped with tar"
>        compress client fast
>        index yes
>        exclude list "/etc/amanda/exclude.gtar"
>        priority medium
>    }
>
>Are they identical?

In effect, I believe so.  However, the compress line can also specify 
that the server do it, 'compress server best' which might be helpfull 
timewise if the client is seriously short of horsepower and the 
server is not also functioning as its own client, which is the case 
here.  I'm considering doing that with a couple of my client dle's, 
as I am seeing only sporadic bursts of data on the net when it is 
doing 'client best'.  Its only a 500mhz K6-III box.  But that might 
not be of much use if the server is also its own client as that could 
mean two such compress best's would be running at the same time on 
the server.  Still, a 2100mhz should be able to do two of them at 
about 1Ghz each I'd think.

Thinking out loud...

>If so, why would I use one form over the other and where is the
>"options" form fully documented?
>
>If not, can someone please explain the difference?

I agree, it could use better docs, something I think Stephan W. is 
working on from time to time, and which I'll plead guilty to not 
haveing paid sufficient attention to his efforts.

>regards :-)
>BruceS

-- 
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.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.