[Box Backup] Error (4/11) with 4GB Files
Mon, 19 Mar 2007 12:57:41 +0100
This is a multi-part message in MIME format.
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
thank you for this fast response. Please find my answer below.
Ben Summers wrote:
> On 19 Mar 2007, at 08:14, Bernd Zimmermann wrote:
>> I want to backup my DB archive files. Each night a new ARCHIVE is created
>> and renamed to become the youngest generation as ARCHIVE+ - the older
>> are renamed to ARCHIVE++ and ARCHIVE+++ respectively. The oldest is
>> Bbackupquery list -ts reports one set of these files having been stored
>> days ago. But no newer one was backed up since then. In the log
>> I could find messages like this:
>> Mar 19 01:28:40 dlb5 bbackupd: Backup object failed, error when
>> reading //home/bak/ARCHIVE+
>> Mar 19 01:28:40 dlb5 bbackupd: Error code when uploading was
>> (4/11), BackupStore BadBackupStoreFile
>> When I copy one of these files to a arbitrary name, it gets backed up.
>> When I run a "bbackquery -qa compare" I get these ERRORs:
>> ERROR: (4/11) during file fetch and comparsion for
>> ERROR: (7/42) during file fetch and comparsion for
>> ERROR: (7/42) during file fetch and comparsion for
>> The bbackupd is running on a SuSE Linux 9.0 here.
> Which version of Box Backup are you using?
The version is 010
> Please post your config file. What happens if you delete the file
> referenced by the StoreObjectInfoFile directive while bbackupd is not
> running? What happens if you comment the directive out?
The config file is attached.
There is no StoreObjectInfoFile, I have not activated this Option - should I?
StoreHostname = postbox
AccountNumber = 0x1004
KeysFile = /etc/box/bbackupd/1004-FileEncKeys.raw
CertificateFile = /etc/box/bbackupd/1004-cert.pem
PrivateKeyFile = /etc/box/bbackupd/1004-key.pem
TrustedCAsFile = /etc/box/bbackupd/serverCA.pem
DataDirectory = /var/lib/box
# 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.
# The default script emails the system administrator.
NotifyScript = /etc/box/bbackupd/NotifySysadmin.sh
# 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.
# 4 hours
UpdateStoreInterval = 14400
# A file must have been modified at least 6 hours ago before it will be uploaded.
#MinimumFileAge = 21600
# 1 hour
MinimumFileAge = 3600
# 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
# 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)
FileTrackingSizeThreshold = 65535
# The daemon does "changes only" uploads for files above this size (in bytes).
# Files less than it are uploaded whole without this extra processing.
DiffingUploadSizeThreshold = 8192
# 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 want
# to spend more time searching for unchanged blocks.
MaximumDiffingTime = 320
KeepAliveTime = 330
# Uncomment this line to see exactly what the daemon is going when it's connected to the server.
#ExtendedLogging = yes
# 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
# Where the command socket is created in the filesystem.
CommandSocket = /var/run/bbackupd.sock
# 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 = /var/lib/box/bbackupd.state
PidFile = /var/run/bbackupd.pid
# BackupLocations specifies which locations on disc should be backed up. Each
# directory is in the format
# Path = /path/of/directory
# (optional exclude directives)
# 'name' is derived from the Path by the config script, but should merely be
# The exclude directives are of the form
# [Exclude|AlwaysInclude][File|Dir][|sRegex] = regex or full pathname
# (The regex suffix is shown as 'sRegex' to make File or Dir plural)
# For example:
# 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.
# In general, Exclude excludes a file or directory, unless the directory is
# explicitly mentioned in a AlwaysInclude directive.
# 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.
Path = /
ExcludeDirsRegex = ^[/]+dev
ExcludeDirsRegex = ^[/]+proc
ExcludeDirsRegex = ^[/]+sys
ExcludeDirsRegex = ^[/]+tmp
ExcludeDirsRegex = ^[/]+var/cache
ExcludeDirsRegex = ^[/]+var/run
ExcludeDirsRegex = ^[/]+var/log
ExcludeDirsRegex = ^[/]+ide/backup/hlm1
ExcludeFilesRegex = home.tgz
Content-Type: text/x-vcard; charset=utf-8;
adr:;;Alter Postweg 104 D;Seevetal - Horst;Lower Saxony;21220;Germany
tel;work:+49 (4105) 668 033
tel;fax:+49 (12120) 274 964
tel;cell:+49 (170) 4 735 471