[Box Backup] how to properly use snapshot backups?

Brendon Baumgartner brendon at netcal.com
Fri Apr 18 18:32:43 BST 2014


Thanks!

I downloaded 3341 and installed it. Started it with -V and ran a sync. We'll see what happens. So far this is what I got... looks correct. I'll see what happens when it finishes. (See #1 below)

One strange thing though is that I was seeing this socket error messages. I checked the socket file and everything is running as root. I stopped and started bbackupd and was getting the same error. I then deleted it and restarted bbackupd and the error stopped occurring. I checked the file before and after and it was the same. Strange but maybe somehow this is related to my problem? Hmm... then again maybe not. I just looked through the old logs and don't see this error. It just started this morning.

#2 -- socket error output:

Apr 18 10:01:28 hosting bbackupd[12635]: NOTICE: Box Backup Client vtrunk_3341, (c) Ben Summers and contributors 2003-2014
Apr 18 10:01:28 hosting bbackupd[12637]: NOTICE: Starting daemon, version: trunk_3341
Apr 18 10:01:28 hosting bbackupd[12637]: NOTICE: Using configuration file: /etc/boxbackup/bbackupd.conf
Apr 18 10:01:41 hosting bbackupctl[12658]: Using configuration file /etc/boxbackup/bbackupd.conf
Apr 18 10:01:41 hosting bbackupctl[12658]: NOTICE: state 0 Idle
Apr 18 10:01:41 hosting bbackupd[12637]: ERROR: Failed to write to socket: Broken pipe (32)
Apr 18 10:01:41 hosting bbackupd[12637]: WARNING: Exception thrown: ConnectionException(Conn_SocketWriteError) at SocketStream.cpp(313)
Apr 18 10:01:41 hosting bbackupd[12637]: NOTICE: Failed to write to command socket: Connection SocketWriteError (Probably a network issue between client and server.)


#1 -- Looking good output:

Apr 18 10:20:28 hosting bbackupd[18988]: NOTICE: Box Backup Client vtrunk_3341, (c) Ben Summers and contributors 2003-2014
Apr 18 10:20:28 hosting bbackupd[18990]: NOTICE: Starting daemon, version: trunk_3341
Apr 18 10:20:28 hosting bbackupd[18990]: NOTICE: Using configuration file: /etc/boxbackup/bbackupd.conf
Apr 18 10:20:28 hosting bbackupd[18990]: No automatic backups, waiting for bbackupctl snapshot command
Apr 18 10:20:51 hosting bbackupctl[19100]: Using configuration file /etc/boxbackup/bbackupd.conf
Apr 18 10:20:51 hosting bbackupd[18990]: Incoming connection from local (UNIX socket)
Apr 18 10:20:51 hosting bbackupd[18990]: Connection from command socket
Apr 18 10:20:51 hosting bbackupd[18990]: Starting a backup immediately due to bbackupctl sync command
Apr 18 10:20:51 hosting bbackupd[18990]: About to notify administrator about event backup-start, running script '/etc/boxbackup/bbackupd/NotifySysadmin.sh backup-start "/etc/boxbackup/bbackupd.conf"'
Apr 18 10:20:51 hosting bbackupd[18990]: NOTICE: Beginning scan of local files
Apr 18 10:20:51 hosting bbackupd[18990]: Opening connection to server 'bbox.netcal.com'...
Apr 18 10:20:52 hosting bbackupd[18990]: Connection made, login successful
Apr 18 10:20:52 hosting bbackupd[18990]: NOTICE: Found an incomplete ID map database, deleting it to start afresh: /var/lib/box/mnt_boot.n
Apr 18 10:20:52 hosting bbackupd[18990]: NOTICE: Found an incomplete ID map database, deleting it to start afresh: /var/lib/box/mnt_home.n
Apr 18 10:20:52 hosting bbackupd[18990]: NOTICE: Found an incomplete ID map database, deleting it to start afresh: /var/lib/box/mnt_.n
Apr 18 10:20:52 hosting bbackupd[18990]: Not deleting unused entries - none in list
Apr 18 10:20:52 hosting bbackupd[18990]: Ignoring apparent hard link count on directory: /boot/grub, nlink=2
Apr 18 10:20:52 hosting bbackupd[18990]: Ignoring apparent hard link count on directory: /boot/lost+found, nlink=2
Apr 18 10:20:52 hosting bbackupd[18990]: Ignoring apparent hard link count on directory: /home/r1llc, nlink=15 



More information about the Boxbackup mailing list