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

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Wed Oct 17 13:50:59 BST 2007


Author: chris
Date: 2007-10-17 13:50:59 +0100 (Wed, 17 Oct 2007)
New Revision: 1883

Modified:
   box/trunk/bin/bbackupd/win32/bbackupd.conf
Log:
Undo bad changes (not all exclude options take a regex). (merges [1847])


Modified: box/trunk/bin/bbackupd/win32/bbackupd.conf
===================================================================
--- box/trunk/bin/bbackupd/win32/bbackupd.conf	2007-10-17 12:50:10 UTC (rev 1882)
+++ box/trunk/bin/bbackupd/win32/bbackupd.conf	2007-10-17 12:50:59 UTC (rev 1883)
@@ -12,64 +12,35 @@
 # If you do not install it in the default location - also do not forget to 
 # change the pid file location (below)
 
-# This script is run whenever bbackupd changes state or encounters a
-# problem which requires the system administrator to assist:
-#
+
+# This script is run whenever bbackupd encounters a problem which requires
+# the system administrator to assist:
 # 1) The store is full, and no more data can be uploaded.
 # 2) Some files or directories were not readable.
-# 3) A backup run starts or finishes.
-#
-# The default script emails the system administrator, except for backups
-# starting and stopping, where it does nothing.
-#
-# NOTE: If your client does not run a local SMTP server then you MUST
-# edit this script and uncomment the lines near the end, which specify
-# the remote SMTP server to use for sending mail.
+# The default script emails the system administrator.
 
-NotifyScript = cscript "C:\Program Files\Box Backup\NotifySysAdmin.vbs"
+# NotifyScript = NotifySysadmin.sh
 
 
-# The number of seconds between backup runs under normal conditions. To avoid 
-# cycles of load on the server, this time is randomly adjusted by a small 
+# A scan of the local discs will be made once an hour (approximately).
+# To avoid cycles of load on the server, this time is randomly adjusted by a small
 # percentage as the daemon runs.
 
 UpdateStoreInterval = 3600
 
 
-# The minimum age of a file, in seconds, that will be uploaded. Avoids 
-# repeated uploads of a file which is constantly being modified.
+# A file must have been modified at least 6 hours ago before it will be uploaded.
 
 MinimumFileAge = 21600
 
 
-# If a file is modified repeated, it won't be uploaded immediately in case 
-# it's modified again, due to the MinimumFileAge specified above. However, it 
-# should be uploaded eventually even if it is being modified repeatedly. This 
-# is how long we should wait, in seconds, after first noticing a change. 
-# (86400 seconds = 1 day)
+# If a file is modified repeated, it won't be uploaded immediately in case it's modified again.
+# However, it should be uploaded eventually. This is how long we should wait after first noticing
+# a change. (1 day)
 
 MaxUploadWait = 86400
 
-# If the connection is idle for some time (e.g. over 10 minutes or 600
-# seconds, not sure exactly how long) then the server will give up and
-# disconnect the client, resulting in Connection Protocol_Timeout errors
-# on the server and TLSReadFailed or TLSWriteFailed errors on the client.
-# Also, some firewalls and NAT gateways will kill idle connections after
-# similar lengths of time. 
-#
-# This can happen for example when most files are backed up already and
-# don't need to be sent to the store again, while scanning a large
-# directory, or while calculating diffs of a large file. To avoid this,
-# KeepAliveTime specifies that special keep-alive messages should be sent
-# when the connection is otherwise idle for a certain length of time,
-# specified here in seconds.
-#
-# The default is that these messages are never sent, equivalent to setting
-# this option to zero, but we recommend that all users enable this.
 
-KeepAliveTime = 120
-
-
 # Files above this size (in bytes) are tracked, and if they are renamed they will simply be
 # renamed on the server, rather than being uploaded again. (64k - 1)
 
@@ -82,38 +53,30 @@
 DiffingUploadSizeThreshold = 8192
 
 
-# The limit on how much time is spent diffing files, in seconds. Most files 
-# shouldn't take very long, but if you have really big files you can use this 
-# to limit the time spent diffing them.
-#
+# The limit on how much time is spent diffing files. Most files shouldn't take very long,
+# but if you have really big files you can use this to limit the time spent diffing them.
 # * Reduce if you are having problems with processor usage.
-#
-# * Increase if you have large files, and think the upload of changes is too 
-#   large and you want bbackupd to spend more time searching for unchanged
-#   blocks.
+# * Increase if you have large files, and think the upload of changes is too large and want
+#   to spend more time searching for unchanged blocks.
 
-MaximumDiffingTime = 120
+MaximumDiffingTime = 20
 
+# KeepAliveTime requires Gary's SSL KeepAlive patches
+# KeepAliveTime = 250
 
 # Uncomment this line to see exactly what the daemon is going when it's connected to the server.
 
 # ExtendedLogging = yes
 
 
-# This specifies a program or script script which is run just before each 
-# sync, and ideally the full path to the interpreter. It will be run as the 
-# same user bbackupd is running as, usually root.
-#
-# The script must output (print) either "now" or a number to STDOUT (and a 
-# terminating newline, no quotes).
-#
-# If the result was "now", then the sync will happen. If it's a number, then 
-# no backup will happen for that number of seconds (bbackupd will pause) and 
-# then the script will be run again.
-#
-# Use this to temporarily stop bbackupd from syncronising or connecting to the 
-# store. For example, you could use this on a laptop to only backup when on a 
-# specific network, or when it has a working Internet connection.
+# Use this to temporarily stop bbackupd from syncronising or connecting to the store.
+# This specifies a program or script script which is run just before each sync, and ideally
+# the full path to the interpreter. It will be run as the same user bbackupd is running as,
+# usually root.
+# The script prints either "now" or a number to STDOUT (and a terminating newline, no quotes).
+# If the result was "now", then the sync will happen. If it's a number, then the script will
+# be asked again in that number of seconds.
+# For example, you could use this on a laptop to only backup when on a specific network.
 
 # SyncAllowScript = /path/to/intepreter/or/exe script-name parameters etc
 
@@ -122,21 +85,16 @@
 
 CommandSocket = pipe
 
-# Uncomment the StoreObjectInfoFile to enable the experimental archiving
-# of the daemon's state (including client store marker and configuration)
-# between backup runs. This saves time and increases efficiency when
-# bbackupd is frequently stopped and started, since it removes the need
-# to rescan all directories on the remote server. However, it is new and
-# not yet heavily tested, so use with caution.
 
-# StoreObjectInfoFile = C:\Program Files\Box Backup\bbackupd\bbackupd.state
-
 Server
 {
 	PidFile = C:\Program Files\Box Backup\bbackupd\bbackupd.pid
 }
 
+# StoreObjectInfoFile requires Gary's client marker serialisation patch
+# StoreObjectInfoFile = C:\Program Files\Box Backup\bbackupd\bbackupd.dat
 
+# 
 # BackupLocations specifies which locations on disc should be backed up. Each
 # directory is in the format
 # 
@@ -158,12 +116,19 @@
 # For example:
 # 
 # 	ExcludeDir = /home/guest-user
-# 	ExcludeFilesRegex = *.(mp3|MP3)$
+# 	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.
-# 
+#
+# If a directive ends in Regex, then it is a regular expression rather than a
+# explicit full pathname. See:
+#
+#       http://bbdev.fluffy.co.uk/trac/wiki/Win32Regex
+#
+# for more information about regular expressions on Windows.
+#
 # In general, Exclude excludes a file or directory, unless the directory is
 # explicitly mentioned in a AlwaysInclude directive. However, Box Backup
 # does NOT scan inside excluded directories and will never back up an
@@ -173,23 +138,47 @@
 # 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/.*
+# 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
-# 
-# 	man 7 re_format
-# 
-# for the regex syntax on your platform.
+# AlwaysIncludeDirsRegex = ^/home/user/bigfiles/path/important/files/
+# AlwaysIncludeFilesRegex = ^/home/user/bigfiles/path/important/files/
+#
+# Here are some more examples of possible regular expressions for Windows:
+#
+#       ExcludeDir = C:\Documents and Settings\Owner
+#       ExcludeFilesRegex = \.(mp3|MP3)$
+#       AlwaysIncludeFile = C:\Documents and Settings\Owner\My Documents\My Music\veryimportant.mp3
+#       ExcludeFilesRegex = \.pst$
+#       AlwaysIncludeFilesRegex = \.*backup.*\.pst$
+#       ExcludeFilesRegex = \.avi$
+#       ExcludeDirsRegex  = \\Temporary Internet Files$
+#       ExcludeFilesRegex = \\pagefile\.sys$
+#       ExcludeDirsRegex  = \\pagefile\.sys$
+#       ExcludeFilesRegex = \\boot\.ini$
+#       ExcludeFilesRegex = \\NTDETECT\.COM$
+#       ExcludeFilesRegex = \\UsrClass\.dat\.LOG$
+#       ExcludeDirsRegex  = \\System Volume Information$
+#       ExcludeFilesRegex = \\ntldr$
+#       ExcludeDirsRegex  = \\Local Settings\\.*\\Cache$
+#       ExcludeFilesRegex = \\thumbs\.db$
+#       ExcludeFilesRegex = \\~.*
+#       ExcludeFilesRegex = \\Perflib.*
+#       ExcludeDirsRegex  = \\Application Data$
+#       ExcludeFilesRegex = \.bk[~!0-9]$
+#       ExcludeFilesRegex = \.iso$
+#       ExcludeFilesRegex = \.mpe?[2345g]$
+#       ExcludeFilesRegex = \.qbw$
+#       AlwaysIncludeFilesRegex = \.qbb$
+#       ExcludeFilesRegex = \.tif[f]$
+#       ExcludeFilesRegex = \.wmv$
+#       ExcludeFilesRegex = \.avi$
+#       ExcludeFilesRegex = \.(avi|iso|mp(e)?[g345]|bk[~!1-9]|[mt]bk)$
 
 BackupLocations
 {




More information about the Boxbackup-commit mailing list