[Box Backup] ExcludeFilesRegex

Ben Summers boxbackup@fluffy.co.uk
Sat, 11 Jun 2005 08:34:16 +0100


On 11 Jun 2005, at 08:15, Henning Markussen wrote:

> Hi
>
> I have some trouble with the ExcludeFilesRegex option on my CentOS  
> 4.0.
>
> bbackupd.conf:
> --------------
> home
> {
>  Path =  /home
>  ExcludeFilesRegex = *.(iso|ISO)$
> }
> --------------
> When trying this - it results in a
>
> Jun 11 09:06:15 mail bbackupd[9650]: Connection made, login successful
> Jun 11 09:06:16 mail bbackupd[9650]: Exception caught (1/31), reset  
> state
> and waiting to retry...
>
> What is wrong whith this ?

ExceptionCodes.txt show 1/31 as BadRegularExpression.

> I've tried with just *.iso but it is the same

Your regex is not a POSIX regex. You need something like

   .*\.(iso|ISO)$

Type

   man re_format

for more details, as suggested by the comments in the generated .conf  
file.

>
> The goal is to backup the /home - but not .iso files in /home

Should do the trick.

Ben