Amanda-Users

RE: Use of RegEx in exclude

2007-01-29 12:21:35
Subject: RE: Use of RegEx in exclude
From: "Lars Monsees" <l.monsees AT atlantisgmbh DOT de>
To: <amanda-users AT amanda DOT org>
Date: Mon, 29 Jan 2007 17:43:54 +0100

> On Mon, Jan 29, 2007 at 01:50:34PM +0100, Lars Monsees wrote:
>> Hello,
>> 
>> I´m quite new to amanda so I have left something out don´t slap me
=)
>> (I know from the documentation that it is possible to use ?*
>> wildcards.) 
>> 
>> 
>> We have a server with several customer domains located at our ISP
>> who controls the backup. Therefore, it is only possible for us to
>> define an exclude list.  
>> 
>> Each domain has a standard set of directories that I don´t want to
>> be included in the backup. The directory structure looks like: 
>> 
>> - domain123.de
>>      - anon_ftp
>>      - etc
>>      - bla
>>      - httpdocs
>> - anotherdomain.com
>>      (same structure as above)
>> 
>> 
>> At the moment, we have the root of all domains in our backup to
save
>> the httpdocs dir for each domain (also for new domains without
>> adopting anything). Now, I want to exclude the anon_ftp, etc and
bla
>> dir from the backup and tried to use a RegEx:  
>> 
> 
> Do I understand correctly that you just one to save the httpdocs
> directories, excluding everything else?  If that is correct then for
> each domain as 
> a DLE you could have simply an "include ./httpdocs" directive.  That
> would exclude everything except the included stuff.

yes (could also be another dir, I´m not sure ATM), but unfortunately,
we don´t have direct access to amanda as the setup comes from our ISP.
We are only able to specify a exclude list =(

Using a single include would also mean that I had to adopt the list
each time we add or remove a domain (the server hosts several domains
for our customers).


Lars



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