[Box Backup] regex in native windows client boxwin0.09h.exe

Ben Summers boxbackup@fluffy.co.uk
Fri, 13 Jan 2006 17:04:01 +0000


On 13 Jan 2006, at 16:58, E.W. Peter Jalajas wrote:

> Oh.
>
> Funny, early on I tried some multiple ExcludeFilesRegex lines but they
> didn't seem to work (probably for other newbie reasons, now), and when
> I searched around, I couldn't find any apparently authoritative
> instances using muliple lines (or forgot where they were), so I  
> stopped
> using them, thinking I was just replacing the first ExcludeFilesRegex
> variable setting with the second, and so on.  Ugh.

Sorry. That needs documenting more clearly, I think.

>
> I'm now testing:
>
>     ExcludeFilesRegex =
> .+\.([aA][vV][iI]|[iI][sS][oO]|[mM][pP][eE]?[3gG]|[mM][pP][eE][gG]| 
> [tT][mM][pP]|[bB][aAcC][kK]|[dD][bB][kK]|[bB][kK][~!1-9]|[mMtT][bB] 
> [kK]|[oO][lL][dD]|[sS][aA][vV]|[sS][wW][pP]|[xX][lL][kK]|[cC][sS] 
> [mM]|[dD][sS][kK]|[oO][bB][jJ]|[pP][aA][rR]|[dD][bB][xX])$
>     ExcludeFilesRegex = thumbs\.db|history\.dat|cookies\.txt

The latter will match, say, some-interesting-history.dat ... need to  
begin with / and end with $.

>
> with these files:
> -rw-r--r--  1 Owner  None       5 Jan 13 11:51 thumbs.db
> -rw-r--r--  1 Owner  None       5 Jan 13 11:52 history.dat
> -rw-r--r--  1 Owner  None       5 Jan 13 11:52 cookies.txt
> -rw-r--r--  1 Owner  None       5 Jan 13 11:52 cookiesx.txt
> -rw-r--r--  1 Owner  None       5 Jan 13 11:52 historyx.dat
> -rw-r--r--  1 Owner  None       5 Jan 13 11:52 thumbsx.db
>
> Any suggestions on how to speed up the testing cycles down to the few
> seconds or minutes level?

Copy the timing values from test/bbackupd/testfiles/bbackupd.conf

Ben