[Box Backup] Re: client connection error

boxbackup@fluffy.co.uk boxbackup@fluffy.co.uk
Mon, 28 Apr 2008 18:02:17 -0700 (PDT)


Chris, I'll do my best to answer your questions.


> Hi Sean,
>
> On Mon, 28 Apr 2008, admin@vancocomputing.net wrote:

>
> Does it appear to be working, i.e. backing up files? What does it do
when
> you run it with no options and then request a sync? What do you get in
the
> client logs?

Yes, it seemed to be properly functioning. It processed the files, but
only uploaded a small amount due to the first backup being on a few
minutes before. Below are the client logs from the last successful backup,
which was with the -kVT options.

Apr 28 17:02:20 ns2 Box Backup (bbackupd)[11167]: Incoming connection from
                                                   local (UNIX socket)
Apr 28 17:02:20 ns2 Box Backup (bbackupd)[11167]: Connection from command
                                                  socket
Apr 28 17:02:20 ns2 Box Backup (bbackupd)[11167]: NOTICE: Beginning scan o
                                                  f local files
Apr 28 17:02:20 ns2 Box Backup (bbackupd)[11167]: Opening connection to se
                                                  rver '64.142.81.150'...
Apr 28 17:02:20 ns2 Box Backup (bbackupd)[11167]: Connection made, login s
                                                  uccessful
Apr 28 17:02:20 ns2 Box Backup (bbackupd)[11167]: Not deleting unused entr
                                                  ies - none in list
Apr 28 17:02:20 ns2 Box Backup (bbackupd)[11167]: NOTICE: About to notify
                                                  administrator about
event backup-start, running script '/etc/box/bbackupd/
                              NotifySysadmin.sh backup-start'
Apr 28 17:04:16 ns2 Box Backup (bbackupd)[11167]: NOTICE: Finished scan of
                                                   local files
Apr 28 17:04:16 ns2 Box Backup (bbackupd)[11167]: NOTICE: About to notify
                                                  administrator about
event backup-finish, running script '/etc/box/bbackupd
                              /NotifySysadmin.sh backup-finish'
Apr 28 17:04:17 ns2 Box Backup (bbackupd)[11167]: NOTICE: File statistics:
                                                   total file size
uploaded 846, bytes already on server 0, encoded size 1144

Here are the logs from the latest attempt at running a sync with the
daemon running with no options and the daemon started by
"/etc/init.d/bbackupd start" (I added some data to /home to trigger a new
data upload):

Apr 28 17:56:13 ns2 Box Backup (bbackupd)[11775]: NOTICE: Beginning scan
of local files
Apr 28 17:56:13 ns2 Box Backup (bbackupd)[11775]: NOTICE: About to notify
administrator about event backup-start, running script
'/etc/box/bbackupd/NotifySysadmin.sh backup-start'
Apr 28 17:58:49 ns2 Box Backup (bbackupd)[11775]: NOTICE: Finished scan of
local files
Apr 28 17:58:49 ns2 Box Backup (bbackupd)[11775]: NOTICE: About to notify
administrator about event backup-finish, running script
'/etc/box/bbackupd/NotifySysadmin.sh backup-finish'
Apr 28 17:58:49 ns2 Box Backup (bbackupd)[11775]: NOTICE: File statistics:
total file size uploaded 56001420, bytes already on server 0, encoded size
50316420

It looks like it uploaded just fine. I really don't understand why the
backup didn't start the first several times until you had me run the
daemon with the -DVT options. It seems to be working fine (I've confirmed
new data on the bbstored server).

>> If you need access to a Debian server, I'll offer mine up. It's a VM
and
>> I
>> don't have any sensitive data on it.
>
> That could be very useful, thanks.

No problem. After all, whatever helps you helps me and everyone else.

>> If so, I should have gotten several, as I only now got a successful
backup. I didn't change that part of the config.
>
> You should have log messages about "Notifying admin" for each email that
ought to have been sent.

Yes, I've gotten several lines with "Notifying admin" for start, finish
and failures, but I've only ever received one e-mail. That time was this
morning when I first attempted a backup.


Thank you!

Sean