[Box Backup-dev] Bad regex in config file

Roy boxbackup-dev@fluffy.co.uk
Thu, 20 Sep 2007 10:52:13 +0200


Hi all,

I tried to exclude a parent.lock file, because BoxBackup couldn't back 
it up.

So I tried to exclude it, following the example:
    ExcludeFilesRegex = *.(mp3|MP3)$
and changed it to:
    ExcludeFilesRegex = *.(lock)$
or
    ExcludeFilesRegex = *.lock$

But then I got the following errors (Windows XP client):
WARNING: Exception thrown: CommonException(BadRegularExpression) at 
ExcludeList.cpp(200)
ERROR: Failed to configure location 'Application Data' path 
'C:\<path>\Application Data': Common BadRegularExpression: please check 
for previous errors

When I changed the regex to .(lock)$ it worked (removed the *  in front 
of it). So I think the example is wrong in bbackupd.conf, or is it 
something I'm missing?

Greetz,

Roy