Changeset 1847


Ignore:
Timestamp:
21/09/2007 20:00:44 (4 years ago)
Author:
chris
Message:

Undo bad changes (not all exclude options take a regex).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/general/bin/bbackupd/win32/bbackupd.conf

    r1829 r1847  
    1313# change the pid file location (below) 
    1414 
    15 # This script is run whenever bbackupd changes state or encounters a 
    16 # problem which requires the system administrator to assist: 
    17 # 
     15 
     16# This script is run whenever bbackupd encounters a problem which requires 
     17# the system administrator to assist: 
    1818# 1) The store is full, and no more data can be uploaded. 
    1919# 2) Some files or directories were not readable. 
    20 # 3) A backup run starts or finishes. 
    21 # 
    22 # The default script emails the system administrator, except for backups 
    23 # starting and stopping, where it does nothing. 
    24 # 
    25 # NOTE: If your client does not run a local SMTP server then you MUST 
    26 # edit this script and uncomment the lines near the end, which specify 
    27 # the remote SMTP server to use for sending mail. 
     20# The default script emails the system administrator. 
    2821 
    29 NotifyScript = cscript "C:\Program Files\Box Backup\NotifySysAdmin.vbs" 
     22# NotifyScript = NotifySysadmin.sh 
    3023 
    3124 
    32 # The number of seconds between backup runs under normal conditions. To avoid  
    33 # cycles of load on the server, this time is randomly adjusted by a small  
     25# A scan of the local discs will be made once an hour (approximately). 
     26# To avoid cycles of load on the server, this time is randomly adjusted by a small 
    3427# percentage as the daemon runs. 
    3528 
     
    3730 
    3831 
    39 # The minimum age of a file, in seconds, that will be uploaded. Avoids  
    40 # repeated uploads of a file which is constantly being modified. 
     32# A file must have been modified at least 6 hours ago before it will be uploaded. 
    4133 
    4234MinimumFileAge = 21600 
    4335 
    4436 
    45 # If a file is modified repeated, it won't be uploaded immediately in case  
    46 # it's modified again, due to the MinimumFileAge specified above. However, it  
    47 # should be uploaded eventually even if it is being modified repeatedly. This  
    48 # is how long we should wait, in seconds, after first noticing a change.  
    49 # (86400 seconds = 1 day) 
     37# If a file is modified repeated, it won't be uploaded immediately in case it's modified again. 
     38# However, it should be uploaded eventually. This is how long we should wait after first noticing 
     39# a change. (1 day) 
    5040 
    5141MaxUploadWait = 86400 
    52  
    53 # If the connection is idle for some time (e.g. over 10 minutes or 600 
    54 # seconds, not sure exactly how long) then the server will give up and 
    55 # disconnect the client, resulting in Connection Protocol_Timeout errors 
    56 # on the server and TLSReadFailed or TLSWriteFailed errors on the client. 
    57 # Also, some firewalls and NAT gateways will kill idle connections after 
    58 # similar lengths of time.  
    59 # 
    60 # This can happen for example when most files are backed up already and 
    61 # don't need to be sent to the store again, while scanning a large 
    62 # directory, or while calculating diffs of a large file. To avoid this, 
    63 # KeepAliveTime specifies that special keep-alive messages should be sent 
    64 # when the connection is otherwise idle for a certain length of time, 
    65 # specified here in seconds. 
    66 # 
    67 # The default is that these messages are never sent, equivalent to setting 
    68 # this option to zero, but we recommend that all users enable this. 
    69  
    70 KeepAliveTime = 120 
    7142 
    7243 
     
    8354 
    8455 
    85 # The limit on how much time is spent diffing files, in seconds. Most files  
    86 # shouldn't take very long, but if you have really big files you can use this  
    87 # to limit the time spent diffing them. 
    88 # 
     56# The limit on how much time is spent diffing files. Most files shouldn't take very long, 
     57# but if you have really big files you can use this to limit the time spent diffing them. 
    8958# * Reduce if you are having problems with processor usage. 
    90 # 
    91 # * Increase if you have large files, and think the upload of changes is too  
    92 #   large and you want bbackupd to spend more time searching for unchanged 
    93 #   blocks. 
     59# * Increase if you have large files, and think the upload of changes is too large and want 
     60#   to spend more time searching for unchanged blocks. 
    9461 
    95 MaximumDiffingTime = 120 
     62MaximumDiffingTime = 20 
    9663 
     64# KeepAliveTime requires Gary's SSL KeepAlive patches 
     65# KeepAliveTime = 250 
    9766 
    9867# Uncomment this line to see exactly what the daemon is going when it's connected to the server. 
     
    10170 
    10271 
    103 # This specifies a program or script script which is run just before each  
    104 # sync, and ideally the full path to the interpreter. It will be run as the  
    105 # same user bbackupd is running as, usually root. 
    106 # 
    107 # The script must output (print) either "now" or a number to STDOUT (and a  
    108 # terminating newline, no quotes). 
    109 # 
    110 # If the result was "now", then the sync will happen. If it's a number, then  
    111 # no backup will happen for that number of seconds (bbackupd will pause) and  
    112 # then the script will be run again. 
    113 # 
    114 # Use this to temporarily stop bbackupd from syncronising or connecting to the  
    115 # store. For example, you could use this on a laptop to only backup when on a  
    116 # specific network, or when it has a working Internet connection. 
     72# Use this to temporarily stop bbackupd from syncronising or connecting to the store. 
     73# This specifies a program or script script which is run just before each sync, and ideally 
     74# the full path to the interpreter. It will be run as the same user bbackupd is running as, 
     75# usually root. 
     76# The script prints either "now" or a number to STDOUT (and a terminating newline, no quotes). 
     77# If the result was "now", then the sync will happen. If it's a number, then the script will 
     78# be asked again in that number of seconds. 
     79# For example, you could use this on a laptop to only backup when on a specific network. 
    11780 
    11881# SyncAllowScript = /path/to/intepreter/or/exe script-name parameters etc 
     
    12386CommandSocket = pipe 
    12487 
    125 # Uncomment the StoreObjectInfoFile to enable the experimental archiving 
    126 # of the daemon's state (including client store marker and configuration) 
    127 # between backup runs. This saves time and increases efficiency when 
    128 # bbackupd is frequently stopped and started, since it removes the need 
    129 # to rescan all directories on the remote server. However, it is new and 
    130 # not yet heavily tested, so use with caution. 
    131  
    132 # StoreObjectInfoFile = C:\Program Files\Box Backup\bbackupd\bbackupd.state 
    13388 
    13489Server 
     
    13792} 
    13893 
     94# StoreObjectInfoFile requires Gary's client marker serialisation patch 
     95# StoreObjectInfoFile = C:\Program Files\Box Backup\bbackupd\bbackupd.dat 
    13996 
     97#  
    14098# BackupLocations specifies which locations on disc should be backed up. Each 
    14199# directory is in the format 
     
    159117#  
    160118#       ExcludeDir = /home/guest-user 
    161 #       ExcludeFilesRegex = *.(mp3|MP3)$ 
     119#       ExcludeFilesRegex = \.(mp3|MP3)$ 
    162120#       AlwaysIncludeFile = /home/username/veryimportant.mp3 
    163121#  
    164122# This excludes the directory /home/guest-user from the backup along with all mp3 
    165123# files, except one MP3 file in particular. 
    166 #  
     124# 
     125# If a directive ends in Regex, then it is a regular expression rather than a 
     126# explicit full pathname. See: 
     127# 
     128#       http://bbdev.fluffy.co.uk/trac/wiki/Win32Regex 
     129# 
     130# for more information about regular expressions on Windows. 
     131# 
    167132# In general, Exclude excludes a file or directory, unless the directory is 
    168133# explicitly mentioned in a AlwaysInclude directive. However, Box Backup 
     
    174139# like this, to ensure that each directory in the path to the important 
    175140# files is included, but none of their contents will be backed up except 
    176 # the directories futher down that path to the important one. 
     141# the directories further down that path to the important one. 
    177142# 
    178 # ExcludeDirsRegex = /home/user/bigfiles/.* 
    179 # ExcludeFilesRegex = /home/user/bigfiles/.* 
     143# ExcludeDirsRegex = ^/home/user/bigfiles/ 
     144# ExcludeFilesRegex = ^/home/user/bigfiles/ 
    180145# AlwaysIncludeDir = /home/user/bigfiles/path 
    181146# AlwaysIncludeDir = /home/user/bigfiles/path/to 
    182147# AlwaysIncludeDir = /home/user/bigfiles/path/important 
    183148# AlwaysIncludeDir = /home/user/bigfiles/path/important/files 
    184 # AlwaysIncludeDirsRegex = /home/user/bigfiles/path/important/files/.* 
    185 # AlwaysIncludeFilesRegex = /home/user/bigfiles/path/important/files/.* 
    186 #  
    187 # If a directive ends in Regex, then it is a regular expression rather than a  
    188 # explicit full pathname. See 
    189 #  
    190 #       man 7 re_format 
    191 #  
    192 # for the regex syntax on your platform. 
     149# AlwaysIncludeDirsRegex = ^/home/user/bigfiles/path/important/files/ 
     150# AlwaysIncludeFilesRegex = ^/home/user/bigfiles/path/important/files/ 
     151# 
     152# Here are some more examples of possible regular expressions for Windows: 
     153# 
     154#       ExcludeDir = C:\Documents and Settings\Owner 
     155#       ExcludeFilesRegex = \.(mp3|MP3)$ 
     156#       AlwaysIncludeFile = C:\Documents and Settings\Owner\My Documents\My Music\veryimportant.mp3 
     157#       ExcludeFilesRegex = \.pst$ 
     158#       AlwaysIncludeFilesRegex = \.*backup.*\.pst$ 
     159#       ExcludeFilesRegex = \.avi$ 
     160#       ExcludeDirsRegex  = \\Temporary Internet Files$ 
     161#       ExcludeFilesRegex = \\pagefile\.sys$ 
     162#       ExcludeDirsRegex  = \\pagefile\.sys$ 
     163#       ExcludeFilesRegex = \\boot\.ini$ 
     164#       ExcludeFilesRegex = \\NTDETECT\.COM$ 
     165#       ExcludeFilesRegex = \\UsrClass\.dat\.LOG$ 
     166#       ExcludeDirsRegex  = \\System Volume Information$ 
     167#       ExcludeFilesRegex = \\ntldr$ 
     168#       ExcludeDirsRegex  = \\Local Settings\\.*\\Cache$ 
     169#       ExcludeFilesRegex = \\thumbs\.db$ 
     170#       ExcludeFilesRegex = \\~.* 
     171#       ExcludeFilesRegex = \\Perflib.* 
     172#       ExcludeDirsRegex  = \\Application Data$ 
     173#       ExcludeFilesRegex = \.bk[~!0-9]$ 
     174#       ExcludeFilesRegex = \.iso$ 
     175#       ExcludeFilesRegex = \.mpe?[2345g]$ 
     176#       ExcludeFilesRegex = \.qbw$ 
     177#       AlwaysIncludeFilesRegex = \.qbb$ 
     178#       ExcludeFilesRegex = \.tif[f]$ 
     179#       ExcludeFilesRegex = \.wmv$ 
     180#       ExcludeFilesRegex = \.avi$ 
     181#       ExcludeFilesRegex = \.(avi|iso|mp(e)?[g345]|bk[~!1-9]|[mt]bk)$ 
    193182 
    194183BackupLocations 
Note: See TracChangeset for help on using the changeset viewer.