Amanda-Users

Use of RegEx in exclude

2007-01-29 08:33:04
Subject: 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 13:50:34 +0100
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:

   ./[A-Za-z0-9._-]*\.[A-Za-z]{2,4}/anon_ftp

Unfortunately, this doesn´t seem to work. Is there any other way I can achieve 
this?


Regards
Lars


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