[Box Backup] Configuration - Exclude folder except certain folder/file inside?

Tobias Balle-Petersen boxbackup@fluffy.co.uk
Fri, 06 Oct 2006 08:55:16 +0200


Hello.

I want to backup only user_name/Library/Mail (a folder) and 
user_name/Library/Preferences/com.apple.mail.plist (a file) from the 
Library folder in my users home dirs (OS X). Nothing from 
user_name/Library is being backed up with the configuration shown below.

All the ExcludeDirsRegex work as expected. The AlwaysIncludeDirsRegex 
and AlwaysIncludeFilesRegex seems to be ignored.

Any ideas?


My conf:

homes
{
  Path = /Volumes/noriB1/opendir/homes
  ExcludeFilesRegex = .*\.MP3$
  ExcludeFilesRegex = .*\.mp3$
  ExcludeFilesRegex = .*\.M4A$
  ExcludeFilesRegex = .*\.m4a$
  ExcludeFile = .DS_Store
  AlwaysIncludeDirsRegex = /Volumes/noriB1/opendir/homes/.*/Library/Mail
  AlwaysIncludeFilesRegex = 
/Volumes/noriB1/opendir/homes/.*/Library/Preferences/com.apple.mail.plist
  ExcludeDirsRegex = /Volumes/noriB1/opendir/homes/.*/Library
  ExcludeDirsRegex =  /Volumes/noriB1/opendir/homes/.*/Music
  ExcludeDirsRegex =  /Volumes/noriB1/opendir/homes/.*/Movies
  ExcludeDirsRegex =  /Volumes/noriB1/opendir/homes/.*/Applications
}


Thanks,
Tobias