[Box Backup-commit] COMMIT r1845 - box/trunk/bin/bbackupd

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Fri, 21 Sep 2007 19:01:05 +0100


Author: chris
Date: 2007-09-21 19:01:05 +0100 (Fri, 21 Sep 2007)
New Revision: 1845

Modified:
   box/trunk/bin/bbackupd/bbackupd-config.in
Log:
Fix regular expression syntax in examples, thanks Roy!


Modified: box/trunk/bin/bbackupd/bbackupd-config.in
===================================================================
--- box/trunk/bin/bbackupd/bbackupd-config.in	2007-09-19 22:32:50 UTC (rev 1844)
+++ box/trunk/bin/bbackupd/bbackupd-config.in	2007-09-21 18:01:05 UTC (rev 1845)
@@ -467,9 +467,9 @@
 #
 # For example:
 # 
-# 	ExcludeDir = /home/guest-user
-# 	ExcludeFilesRegex = *.(mp3|MP3)\$
-# 	AlwaysIncludeFile = /home/username/veryimportant.mp3
+# 	ExcludeDir = ^/home/guest-user$
+# 	ExcludeFilesRegex = \.(mp3|MP3)\$
+# 	AlwaysIncludeFile = ^/home/username/veryimportant\.mp3$
 # 
 # This excludes the directory /home/guest-user from the backup along with all mp3
 # files, except one MP3 file in particular.
@@ -483,16 +483,16 @@
 # To back up a directory inside an excluded directory, use a configuration
 # like this, to ensure that each directory in the path to the important
 # files is included, but none of their contents will be backed up except
-# the directories futher down that path to the important one.
+# the directories further down that path to the important one.
 #
-# ExcludeDirsRegex = /home/user/bigfiles/.*
-# ExcludeFilesRegex = /home/user/bigfiles/.*
-# AlwaysIncludeDir = /home/user/bigfiles/path
-# AlwaysIncludeDir = /home/user/bigfiles/path/to
-# AlwaysIncludeDir = /home/user/bigfiles/path/important
-# AlwaysIncludeDir = /home/user/bigfiles/path/important/files
-# AlwaysIncludeDirsRegex = /home/user/bigfiles/path/important/files/.*
-# AlwaysIncludeFilesRegex = /home/user/bigfiles/path/important/files/.*
+# ExcludeDirsRegex = ^/home/user/bigfiles/
+# ExcludeFilesRegex = ^/home/user/bigfiles/
+# AlwaysIncludeDir = ^/home/user/bigfiles/path
+# AlwaysIncludeDir = ^/home/user/bigfiles/path/to
+# AlwaysIncludeDir = ^/home/user/bigfiles/path/important
+# AlwaysIncludeDir = ^/home/user/bigfiles/path/important/files
+# AlwaysIncludeDirsRegex = ^/home/user/bigfiles/path/important/files/
+# AlwaysIncludeFilesRegex = ^/home/user/bigfiles/path/important/files/
 # 
 # If a directive ends in Regex, then it is a regular expression rather than a 
 # explicit full pathname. See