Amanda-Users

Re: client-side enforced excludes

2003-05-28 06:57:47
Subject: Re: client-side enforced excludes
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 28 May 2003 06:55:42 -0400
On Tue, May 27, 2003 at 10:13:03PM -0400, Luc Lalonde wrote:
> Hello Folks,
> 
> Would there be a way to force excludes from the client side?  I want to 
> enforce an exclude list regardless of wether the exclude directive states on 
> the server amanda.conf file.
> 
> One way I thought of doing this is by writting a shell wrapper for tar on the 
> client and using it in the configure script:
> 
> ./configure --prefix=/opt/amanda --with-user=amanda --with-group=backup \
> --with-gnutar=/opt/bin/tar-wrapper
> 
>  The wrapper would have a line like:
> 
> /bin/tar -exclude-from /etc/amanda/exclude.gtar $@
> 
> Any other suggestions?

If you have any administrative control on the server, how about
having in your dumptype an exclude list "optional" line that
references the same file, or a file local to the DLE root point.
The the client machine can have it or not.

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