[Box Backup] bbackupquery strange issue
o omida parasita
boxbackup@fluffy.co.uk
Wed, 10 May 2006 12:26:28 +0300
I am using Box Backup 0.10
Server on Linux CentOS 4.3 and client on Linux Fedora Core 2
Copy of configuration file:
StoreHostname =3D secure2.serversurgeon.com
AccountNumber =3D 0x75AB23C
KeysFile =3D /etc/box/bbackupd/75AB23C-FileEncKeys.raw
CertificateFile =3D /etc/box/bbackupd/75AB23C-cert.pem
PrivateKeyFile =3D /etc/box/bbackupd/75AB23C-key.pem
TrustedCAsFile =3D /etc/box/bbackupd/serverCA.pem
DataDirectory =3D /var/bbackupd
# 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 =3D /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.
UpdateStoreInterval =3D 3600
# A file must have been modified at least 6 hours ago before it will
be uploaded.
MinimumFileAge =3D 21600
# 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 =3D 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 =3D 65535
# The daemon does "changes only" uploads for files above this size (in byte=
s).
# Files less than it are uploaded whole without this extra processing.
DiffingUploadSizeThreshold =3D 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 =3D 20
# Uncomment this line to see exactly what the daemon is going when
it's connected to the server.
# ExtendedLogging =3D 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 =3D /path/to/intepreter/or/exe script-name parameters etc
# Where the command socket is created in the filesystem.
CommandSocket =3D /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 =3D /var/bbackupd/bbackupd.state
Server
{
PidFile =3D /var/run/bbackupd.pid
}
#
# BackupLocations specifies which locations on disc should be backed up. Ea=
ch
# directory is in the format
#
# {
# Path =3D /path/of/directory
# (optional exclude directives)
# }
#
# 'name' is derived from the Path by the config script, but should merely b=
e
# unique.
#
# The exclude directives are of the form
#
# [Exclude|AlwaysInclude][File|Dir][|sRegex] =3D regex or full pathna=
me
#
# (The regex suffix is shown as 'sRegex' to make File or Dir plural)
#
# For example:
#
# ExcludeDir =3D /home/guest-user
# ExcludeFilesRegex =3D *.(mp3|MP3)$
# AlwaysIncludeFile =3D /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
{
home-httpd-vhosts-serversurgeon.com
{
Path =3D /home/httpd/vhosts/serversurgeon.com
}
}
query > ls home-httpd-vhosts-serversurgeon.com
00000003 f----- .bash_history
00000004 f----- var
00000005 f----- .viminfo
00000006 f----- httpdocs.joomla-site.tar.gz
00000007 f----- ppts-2.0alpha3.tar.gz
00000008 f----- perl-CGI-Lite-2.02-1.1.fc2.rf.noarch.rpm
00000009 -d---- httpsdocs
0000180a -d---- error_docs
00001810 -d---- cgi-bin
00001861 -d---- anon_ftp
00001867 -d---- bin
00001880 -d---- conf
00001888 -d---- pd
0000188a -d---- web_users
0000188b -d---- subdomains
00003eef -d---- private
00003ef1 -d---- lib
00003f0d -d---- usr
000048f6 -d---- etc
000048fb -d---- tmp
00004931 -d---- statistics
00004a6d -d---- vault_scripts
00004a70 -d---- account
00007b91 -d---- support
00007c6c -d---- .ssh
00007c6e -d---- httpdocs.new
00007cb6 -d---- httpdocs
00008319 -d---- ezmlm
[root@secure1 root]# ls /home/httpd/vhosts/serversurgeon.com/
account error_docs httpdocs.new =20
ppts-2.0alpha3.tar.gz tmp
anon_ftp etc httpsdocs =20
private usr
bin ezmlm lib =20
statistics var
cgi-bin httpdocs pd =20
subdomains vault_scripts
conf httpdocs.joomla-site.tar.gz=20
perl-CGI-Lite-2.02-1.1.fc2.rf.noarch.rpm support =20
web_users
Please help
Thank you