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

E.W. Peter Jalajas boxbackup at fluffy.co.uk
Tue Jan 17 06:00:10 GMT 2006


Thanks, Ben.   It turns out that I needed a leading dot-star and
escaped-backslash (.*\\) to get it to work on my WinXP Home
boxwin0.09h.exe client.  

Note that it would not work for me without the leading dot-star (.*).

For the record, this bbackupd.conf BackupLocations section seems to be
working nicely for me at the moment on WinXP Home:

BackupLocations
{
  test
  {
    Path = C:\Documents and Settings\<username>\My Documents\box\test
    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$|.*\\~.*
  }
}

Thanks again, Ben,
Pete
--- Ben Summers <ben at fluffy.co.uk> wrote:
> >     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 $.




More information about the Boxbackup mailing list