[Box Backup] Error (4/11) with 4GB Files

Bernd Zimmermann boxbackup at fluffy.co.uk
Mon Mar 19 11:57:41 GMT 2007


This is a multi-part message in MIME format.
--------------040004030202010203050507
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Ben,
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 
>> ones
>> are renamed to ARCHIVE++ and ARCHIVE+++ respectively. The oldest is 
>> removed.
>>
>> 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[24330]: Backup object failed, error when 
>> reading //home/bak/ARCHIVE+
>> Mar 19 01:28:40 dlb5 bbackupd[24330]: 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 
>> '/dlb5/home/bak/ARCHIVE+'
>> ERROR: (7/42) during file fetch and comparsion for 
>> '/dlb5/home/bak/ARCHIVE++'
>> ERROR: (7/42) during file fetch and comparsion for 
>> '/dlb5/home/bak/ARCHIVE+++'
>>
>> 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?

Thanks,
Bernd






--------------040004030202010203050507
Content-Type: text/plain;
 name="bbackupd.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bbackupd.conf"

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

Server
{
	PidFile = /var/run/bbackupd.pid
}

# 
# BackupLocations specifies which locations on disc should be backed up. Each
# directory is in the format
# 
# 	name
# 	{
# 		Path = /path/of/directory
# 		(optional exclude directives)
# 	}
# 
# 'name' is derived from the Path by the config script, but should merely be
# unique.
# 
# 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.
# 

BackupLocations
{
	dlb5
	{
		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
	}
}

--------------040004030202010203050507
Content-Type: text/x-vcard; charset=utf-8;
 name="bernd.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="bernd.vcf"

begin:vcard
fn:Bernd Zimmermann
n:Zimmermann;Bernd
org:it-consulting
adr:;;Alter Postweg 104 D;Seevetal - Horst;Lower Saxony;21220;Germany
email;internet:bernd at zedv.de
title:senior consultant
tel;work:+49 (4105) 668 033
tel;fax:+49 (12120) 274 964
tel;cell:+49 (170) 4 735 471
x-mozilla-html:TRUE
url:http://www.zedv.de
version:2.1
end:vcard


--------------040004030202010203050507--



More information about the Boxbackup mailing list