diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-09-21 18:01:05 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-09-21 18:01:05 +0000 |
commit | 4738f12a4405810b2575ea71a1de777b1422ab8c (patch) | |
tree | 7d40172a0a963de5a447cd2d2b68f5416682ddbb | |
parent | 1b8edca1763448b402152504073734d1ca24235c (diff) |
Fix regular expression syntax in examples, thanks Roy!
-rwxr-xr-x | bin/bbackupd/bbackupd-config.in | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/bbackupd/bbackupd-config.in b/bin/bbackupd/bbackupd-config.in index b5dc8be8..e785e2c4 100755 --- a/bin/bbackupd/bbackupd-config.in +++ b/bin/bbackupd/bbackupd-config.in @@ -467,9 +467,9 @@ Server # # 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 @@ Server # 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 |