Amanda-Users

Re: includefile directive?

2003-11-11 11:48:31
Subject: Re: includefile directive?
From: Jon LaBadie <jon AT jgcomp DOT com>
To: Amanda Mailing List <amanda-users AT amanda DOT org>
Date: Tue, 11 Nov 2003 11:46:38 -0500
On Tue, Nov 11, 2003 at 04:37:17PM +0100, Toralf Lund wrote:
> Is anyone here using the "includefile" directive in their config? How 
> exactly does it work? Does it apply to all config files, or just 
> amanda.conf? What can the file contain - full config info, or just 
> whatever is not set in the file including it? If I have two configs, can 
> I have one amanda.conf include the other and override some of the 
> params, or is it better to let both include a 3rd file (or several 
> different files for the different sections)?

Under my /usr/local/etc/amanda I have several config directories.
I also have a directory called "CommonConfFiles".

I have stripped down my amanda.conf files to eliminate things like
dumptypes, tapetypes, and a few others.  Each is in a separate
file under CommonConfFiles.  Then at the end of my amanda.conf's
I use includefile to bring in each file I need.  It takes amand.conf
from a scary 560 lines to a still imposing 100 lines.

jl
-- 
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>