Amanda-Users

Re: exclude lists on server

2003-01-30 03:30:50
Subject: Re: exclude lists on server
From: Leonid Mamtchenkov <f.l.amanda-users AT news.francoudi DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 30 Jan 2003 07:50:09 +0000 (UTC)
"John R. Jackson" <jrj AT purdue DOT edu> wrote:
JRJ> >>Is there any "amanda-way" to have exclude lists on the server and update
JRJ> >>them on the client before each backup?  ...
JRJ> I have not tried this, but if you're running 2.4.3 (server and client)
JRJ> and don't have an "excessive" number of exclusions, you can set up a
JRJ> dummy dumptype with the information, then inherit it into each real
JRJ> dumptype as needed:
JRJ> 
JRJ>   define dumptype exclude-stuff {
JRJ>     exclude file append "pattern1"
JRJ>     exclude file append "pattern2"
JRJ>     exclude file append "pattern3"
JRJ>     exclude file append "pattern4"
JRJ>   }
[SKIP]
JRJ> And so on.  You can, of course, have more than one fake dumptype with
JRJ> different sets of exclude patterns.  And, since "append" is used, you
JRJ> may reference more than one in a real dumptype -- the entries will be
JRJ> merged into a single large list.
JRJ> 
JRJ> As I said, I haven't even faintly tried this.  It's just an idea based
JRJ> on how I'm pretty sure this all works.

Looks like exactly what I need :)  Thanks.  I will try it and see if
it'll actually work.  Looks OK to me, though :)

-- 
Best regards,
  Leonid Mamtchenkov, RHCE
  System Administrator
  Francoudi & Stephanou Ltd.


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