[Box Backup] Regex exclusions

Achim J. Latz achim+box at qustodium.net
Thu Sep 29 14:07:11 BST 2011


Just to make sure: Nobody interested in collaborating on this?

On 14/09/2011 22:34, Achim wrote:
> Hello list:
>
> I have a question and a proposal about exclusions:
>
> 1) I seem to remember that I read somewhere that the exclusions are
> specific to every platform: is the syntax really different, even though
> we use PCRE on all platforms? It would seem like a great idea to have a
> universal set of exclusions that come by default with bbackupd.conf, and
> can then be built upon by the user.
>
> 2) Having said that, let's compare notes on the exclusion lists that
> might (hopefully) become part of the web page documentation [1, 2] or
> even the "standard distribution". What do you think about the following
> ones for Windows. Please note that some are commented, some might be
> wrong, certainly not all have been tested:
>
> DIRS
> ====
> ExcludeDirsRegex = .*\\Temp$
> ExcludeDirsRegex = .+\.cab$
> ExcludeDirsRegex = .+\\\..*$
> ExcludeDirsRegex = .+\\\.cvs$
> ExcludeDirsRegex = .+\\\.fseventsd$
> ExcludeDirsRegex = .+\\\.Spotlight-V100$
> ExcludeDirsRegex = .+\\\.svn$
> ExcludeDirsRegex = .+\\\.TemporaryItems$
> ExcludeDirsRegex = .+\\\.Trashes$
> # ExcludeDirsRegex = .+\\Application Data$
> ExcludeDirsRegex = .+\\Cache$
> ExcludeDirsRegex = .+\\Common Files$
> ExcludeDirsRegex = .+\\Cookies$
> ExcludeDirsRegex = .+\\Default User$
> ExcludeDirsRegex = .+\\Downloads$
> ExcludeDirsRegex = .+\\Drivers$
> ExcludeDirsRegex = .+\\Google Desktop Search$
> ExcludeDirsRegex = .+\\I386$
> ExcludeDirsRegex = .+\\IBMTools$
> ExcludeDirsRegex = .+\\IECompatCache$
> ExcludeDirsRegex = .+\\IETLDCache$
> ExcludeDirsRegex = .+\\InstallAnywhere$
> ExcludeDirsRegex = .+\\Installer$
> #ExcludeDirsRegex = .+\\Local Settings$
> ExcludeDirsRegex = .+\\Local Settings\\.*\\Cache$
> ExcludeDirsRegex = .+\\LocalService$
> ExcludeDirsRegex = .+\\Microsoft\Search\Data$
> ExcludeDirsRegex = .+\\MS.*Cache$
> #ExcludeDirsRegex = .+\\My ebooks$
> #ExcludeDirsRegex = .+\\My Media$
> #ExcludeDirsRegex = .+\\My Music$
> #ExcludeDirsRegex = .+\\My Pictures$
> #ExcludeDirsRegex = .+\\My Received Files$
> #ExcludeDirsRegex = .+\\My Videos$
> ExcludeDirsRegex = .+\\NetHood$
> ExcludeDirsRegex = .+\\NetworkService$
> ExcludeDirsRegex = .+\\PrintHood$
> ExcludeDirsRegex = .+\\PrivacIE$
> ExcludeDirsRegex = .+\\RECYCLED$
> ExcludeDirsRegex = .+\\RECYCLER$
> ExcludeDirsRegex = .+\\\$RECYCLE.BIN
> #ExcludeDirsRegex = .+\\Support$
> ExcludeDirsRegex = .+\\System Volume Information$
> #ExcludeDirsRegex = .+\\Templates$
> ExcludeDirsRegex = .+\\Temporary Internet Files$
> #ExcludeDirsRegex = .+\\Thumbs$
> ExcludeDirsRegex = .+\\UserData$
> #ExcludeDirsRegex = .+\\Windows$
> ExcludeDirsRegex = .+\\Windows\\Prefetch$
> ExcludeDirsRegex = .+\\WINDOWS\\system32\\spool\\PRINTERS$
>
> FILES
> =====
> #ExcludeFilesRegex = .*
> #ExcludeFilesRegex = \.(dbx|mdb|pst|qbw|rar)$
> #ExcludeFilesRegex = \..*$
> #ExcludeFilesRegex = boot\.ini$
> ExcludeFilesRegex = hiberfil\.sys$
> #ExcludeFilesRegex = NTDETECT\.COM$
> #ExcludeFilesRegex = ntldr$
> #ExcludeFilesRegex = ntuser\.dat$
> #ExcludeFilesRegex = ntuser\.dat\.log$
> ExcludeFilesRegex = pagefile\.sys$
> ExcludeFilesRegex = Perflib.*
> ExcludeFilesRegex = thumbs\.db$
> #ExcludeFilesRegex = UsrClass\.dat$
> #ExcludeFilesRegex = UsrClass\.dat\.LOG$
> ExcludeFilesRegex = .+\\\.DS_Store$
> ExcludeFilesRegex = .+\\\.Spotlight-V100$
> # ExcludeFilesRegex =
> .+\.([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]|[cC][sS][mM]|[oO][bB][jJ])$
>
> ExcludeFilesRegex = .+\\~.*
> ExcludeFilesRegex = .*\\\._.*
>
> [1]
> <http://www.boxbackup.org/trac/wiki/ConfiguringAClient#ExcludingFilesandDirectoriesfromtheBackup>
>
> [2] <http://www.boxbackup.org/trac/wiki/Win32Regex>
>
> _______________________________________________
> Boxbackup mailing list
> Boxbackup at boxbackup.org
> http://lists.boxbackup.org/cgi-bin/mailman/listinfo/boxbackup


-- 
Achim J. Latz, Qustodium Internet Security
achim.latz at qustodium.net · http://www.qustodium.net
Data Encryption · Backup Automatisation · E-Mail Protection



More information about the Boxbackup mailing list