Changeset 1845


Ignore:
Timestamp:
21/09/2007 19:01:05 (4 years ago)
Author:
chris
Message:

Fix regular expression syntax in examples, thanks Roy!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbackupd/bbackupd-config.in

    r1816 r1845  
    468468# For example: 
    469469#  
    470 #       ExcludeDir = /home/guest-user 
    471 #       ExcludeFilesRegex = *.(mp3|MP3)\$ 
    472 #       AlwaysIncludeFile = /home/username/veryimportant.mp3 
     470#       ExcludeDir = ^/home/guest-user$ 
     471#       ExcludeFilesRegex = \.(mp3|MP3)\$ 
     472#       AlwaysIncludeFile = ^/home/username/veryimportant\.mp3$ 
    473473#  
    474474# This excludes the directory /home/guest-user from the backup along with all mp3 
     
    484484# like this, to ensure that each directory in the path to the important 
    485485# files is included, but none of their contents will be backed up except 
    486 # the directories futher down that path to the important one. 
    487 # 
    488 # ExcludeDirsRegex = /home/user/bigfiles/.* 
    489 # ExcludeFilesRegex = /home/user/bigfiles/.* 
    490 # AlwaysIncludeDir = /home/user/bigfiles/path 
    491 # AlwaysIncludeDir = /home/user/bigfiles/path/to 
    492 # AlwaysIncludeDir = /home/user/bigfiles/path/important 
    493 # AlwaysIncludeDir = /home/user/bigfiles/path/important/files 
    494 # AlwaysIncludeDirsRegex = /home/user/bigfiles/path/important/files/.* 
    495 # AlwaysIncludeFilesRegex = /home/user/bigfiles/path/important/files/.* 
     486# the directories further down that path to the important one. 
     487# 
     488# ExcludeDirsRegex = ^/home/user/bigfiles/ 
     489# ExcludeFilesRegex = ^/home/user/bigfiles/ 
     490# AlwaysIncludeDir = ^/home/user/bigfiles/path 
     491# AlwaysIncludeDir = ^/home/user/bigfiles/path/to 
     492# AlwaysIncludeDir = ^/home/user/bigfiles/path/important 
     493# AlwaysIncludeDir = ^/home/user/bigfiles/path/important/files 
     494# AlwaysIncludeDirsRegex = ^/home/user/bigfiles/path/important/files/ 
     495# AlwaysIncludeFilesRegex = ^/home/user/bigfiles/path/important/files/ 
    496496#  
    497497# If a directive ends in Regex, then it is a regular expression rather than a  
Note: See TracChangeset for help on using the changeset viewer.