Changeset 1847
- Timestamp:
- 21/09/2007 20:00:44 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/chris/general/bin/bbackupd/win32/bbackupd.conf
r1829 r1847 13 13 # change the pid file location (below) 14 14 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: 18 18 # 1) The store is full, and no more data can be uploaded. 19 19 # 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. 28 21 29 NotifyScript = cscript "C:\Program Files\Box Backup\NotifySysAdmin.vbs" 22 # NotifyScript = NotifySysadmin.sh 30 23 31 24 32 # The number of seconds between backup runs under normal conditions. To avoid33 # cycles of load on the server, this time is randomly adjusted by a small25 # 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 34 27 # percentage as the daemon runs. 35 28 … … 37 30 38 31 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. 41 33 42 34 MinimumFileAge = 21600 43 35 44 36 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) 50 40 51 41 MaxUploadWait = 86400 52 53 # If the connection is idle for some time (e.g. over 10 minutes or 60054 # seconds, not sure exactly how long) then the server will give up and55 # disconnect the client, resulting in Connection Protocol_Timeout errors56 # on the server and TLSReadFailed or TLSWriteFailed errors on the client.57 # Also, some firewalls and NAT gateways will kill idle connections after58 # similar lengths of time.59 #60 # This can happen for example when most files are backed up already and61 # don't need to be sent to the store again, while scanning a large62 # directory, or while calculating diffs of a large file. To avoid this,63 # KeepAliveTime specifies that special keep-alive messages should be sent64 # 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 setting68 # this option to zero, but we recommend that all users enable this.69 70 KeepAliveTime = 12071 42 72 43 … … 83 54 84 55 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. 89 58 # * 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. 94 61 95 MaximumDiffingTime = 12062 MaximumDiffingTime = 20 96 63 64 # KeepAliveTime requires Gary's SSL KeepAlive patches 65 # KeepAliveTime = 250 97 66 98 67 # Uncomment this line to see exactly what the daemon is going when it's connected to the server. … … 101 70 102 71 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. 117 80 118 81 # SyncAllowScript = /path/to/intepreter/or/exe script-name parameters etc … … 123 86 CommandSocket = pipe 124 87 125 # Uncomment the StoreObjectInfoFile to enable the experimental archiving126 # of the daemon's state (including client store marker and configuration)127 # between backup runs. This saves time and increases efficiency when128 # bbackupd is frequently stopped and started, since it removes the need129 # to rescan all directories on the remote server. However, it is new and130 # not yet heavily tested, so use with caution.131 132 # StoreObjectInfoFile = C:\Program Files\Box Backup\bbackupd\bbackupd.state133 88 134 89 Server … … 137 92 } 138 93 94 # StoreObjectInfoFile requires Gary's client marker serialisation patch 95 # StoreObjectInfoFile = C:\Program Files\Box Backup\bbackupd\bbackupd.dat 139 96 97 # 140 98 # BackupLocations specifies which locations on disc should be backed up. Each 141 99 # directory is in the format … … 159 117 # 160 118 # ExcludeDir = /home/guest-user 161 # ExcludeFilesRegex = *.(mp3|MP3)$119 # ExcludeFilesRegex = \.(mp3|MP3)$ 162 120 # AlwaysIncludeFile = /home/username/veryimportant.mp3 163 121 # 164 122 # This excludes the directory /home/guest-user from the backup along with all mp3 165 123 # 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 # 167 132 # In general, Exclude excludes a file or directory, unless the directory is 168 133 # explicitly mentioned in a AlwaysInclude directive. However, Box Backup … … 174 139 # like this, to ensure that each directory in the path to the important 175 140 # files is included, but none of their contents will be backed up except 176 # the directories fu ther down that path to the important one.141 # the directories further down that path to the important one. 177 142 # 178 # ExcludeDirsRegex = /home/user/bigfiles/.*179 # ExcludeFilesRegex = /home/user/bigfiles/.*143 # ExcludeDirsRegex = ^/home/user/bigfiles/ 144 # ExcludeFilesRegex = ^/home/user/bigfiles/ 180 145 # AlwaysIncludeDir = /home/user/bigfiles/path 181 146 # AlwaysIncludeDir = /home/user/bigfiles/path/to 182 147 # AlwaysIncludeDir = /home/user/bigfiles/path/important 183 148 # 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)$ 193 182 194 183 BackupLocations
Note: See TracChangeset
for help on using the changeset viewer.
