[Box Backup] Boxbackup on FreeBSD 10
Donald Flissinger
donald at flissinger.com
Mon Feb 10 22:01:10 GMT 2014
Already found the Notify script returned error code: 32256 the
NotifySysadmin.sh execute bit was somehow removed. chmod +x fixed it.
On 10-2-2014 17:27, Donald Flissinger wrote:
> Okay, I got it working, deleted the accounts.txt file and runned:
>
> /usr/local/sbin/bbstoreaccounts create 001 0 768G 1024G
>
> again to re-create the 001 account, so far so good, except for one
> error in log:
>
> Feb 10 16:44:14 backup bbstored[30773]: NOTICE: Box Backup Store
> Server vtrunk_3248, (c) Ben Summers and contributors 2003-2011
> Feb 10 16:44:14 backup bbstored[30775]: NOTICE: Starting daemon,
> version: trunk_3248
> Feb 10 16:44:14 backup bbstored[30775]: NOTICE: Using configuration
> file: /usr/local/etc/boxbackup/bbstored.conf
> Feb 10 16:59:29 backup bbstored[31075]: NOTICE: Handling incoming
> connection from 213.xxx.17.114 port 30151
> Feb 10 16:59:29 backup bbstored client=0x00000001[31075]: NOTICE:
> Login from Client ID 0x00000001 (name=): Read/Write from
> 213.xxx.17.114 port 30151
> Feb 10 17:01:06 backup bbackupd[31103]: NOTICE: Box Backup Client
> vtrunk_3248, (c) Ben Summers and contributors 2003-2011
> Feb 10 17:01:06 backup bbackupd[31105]: NOTICE: Starting daemon,
> version: trunk_3248
> Feb 10 17:01:06 backup bbackupd[31105]: NOTICE: Using configuration
> file: /usr/local/etc/boxbackup/bbackupd.conf
> Feb 10 17:01:06 backup bbackupd[31105]: NOTICE: Beginning scan of
> local files
> Feb 10 17:01:19 backup bbackupd[31105]: WARNING: File is hard linked,
> this may cause rename tracking to fail and move files incorrectly in
> your backup! /etc/pam.d/ftp, nlink=2 (suppressing further warnings)
> Feb 10 17:08:09 backup bbstored client=0x00000001[31075]: NOTICE:
> Session finished for Client ID 0x00000001 (name=)
> Feb 10 17:08:09 backup bbstored client=0x00000001[31075]: NOTICE:
> Connection statistics for 0x00000001 (name=): IN=5511476 OUT=62478
> NET_IN=5448998 TOTAL=5573954
>
> And the other server (which is client too) and backupping up to each
> other:
>
> Feb 10 16:59:22 server bbstored[6761]: NOTICE: Box Backup Store Server
> vtrunk_3248, (c) Ben Summers and contributors 2003-2011
> Feb 10 16:59:22 server bbstored[6763]: NOTICE: Starting daemon,
> version: trunk_3242
> Feb 10 16:59:22 server bbstored[6763]: NOTICE: Using configuration
> file: /usr/local/etc/boxbackup/bbstored.conf
> Feb 10 16:59:29 server bbackupd[6769]: NOTICE: Box Backup Client
> vtrunk_3248, (c) Ben Summers and contributors 2003-2011
> Feb 10 16:59:29 server bbackupd[6771]: NOTICE: Starting daemon,
> version: trunk_3242
> Feb 10 16:59:29 server bbackupd[6771]: NOTICE: Using configuration
> file: /usr/local/etc/boxbackup/bbackupd.conf
> Feb 10 16:59:29 server bbackupd[6771]: WARNING: Notify script returned
> error code: 32256 (/usr/local/etc/boxbackup/bbackupd/NotifySysadmin.sh
> backup-start "/usr/local/etc/boxbackup/bbackupd.conf")
> Feb 10 16:59:29 server bbackupd[6771]: NOTICE: Beginning scan of local
> files
> Feb 10 16:59:47 server bbackupd[6771]: WARNING: File is hard linked,
> this may cause rename tracking to fail and move files incorrectly in
> your backup! /etc/pam.d/ftpd, nlink=2 (suppressing further warnings)
> Feb 10 17:01:06 server bbstored[6830]: NOTICE: Handling incoming
> connection from 94.xxx.250.5 port 53485
> Feb 10 17:01:06 server bbstored client=0x00000001[6830]: NOTICE: Login
> from Client ID 0x00000001 (name=): Read/Write from 94.xxx.250.5 port
> 53485
> Feb 10 17:08:09 server bbackupd[6771]: WARNING: Notify script returned
> error code: 32256 (/usr/local/etc/boxbackup/bbackupd/NotifySysadmin.sh
> read-error "/usr/local/etc/boxbackup/bbackupd.conf")
> Feb 10 17:08:09 server bbackupd[6771]: NOTICE: Finished scan of local
> files
> Feb 10 17:08:09 server bbackupd[6771]: NOTICE: File statistics: total
> file size uploaded 17258788, bytes already on server 0, encoded size
> 5224636, 3544 files uploaded, 332 dirs created
> Feb 10 17:08:09 server bbackupd[6771]: WARNING: Notify script returned
> error code: 32256 (/usr/local/etc/boxbackup/bbackupd/NotifySysadmin.sh
> backup-finish "/usr/local/etc/boxbackup/bbackupd.conf")
> Feb 10 17:11:25 server bbstored client=0x00000001[6830]: NOTICE:
> Session finished for Client ID 0x00000001 (name=)
> Feb 10 17:11:25 server bbstored client=0x00000001[6830]: NOTICE:
> Connection statistics for 0x00000001 (name=): IN=5388672 OUT=62198
> NET_IN=5326474 TOTAL=5450870
>
>
> The hard linked files are no problem I think, I was just testing to
> backup /etc and /usr/local/etc to the other server.
>
> On one server I got this one:
> WARNING: Notify script returned error code: 32256
> (/usr/local/etc/boxbackup/bbackupd/NotifySysadmin.sh backup-start
> "/usr/local/etc/boxbackup/bbackupd.conf")
>
> What's Error 32256 ?
>
> On 10-2-2014 16:36, Chris Wilson wrote:
>> Hi Donald,
>>
>> On Mon, 10 Feb 2014, Donald Flissinger wrote:
>>
>>> root at backup:/usr/local/etc/boxbackup # cat raidfile.conf
>>>
>>> disc0
>>> {
>>> SetNumber = 0
>>> BlockSize = 4096
>>> Dir0 = /mnt/storage/Backup/Server
>>> Dir1 = /mnt/storage/Backup/Server
>>> Dir2 = /mnt/storage/Backup/Server
>>> }
>>>
>>> Directory /mnt/storage/Backup/Server is empty
>>>
>>> root at backup:/mnt/storage/Backup/Server # touch info.rfw
>>> root at backup:/mnt/storage/Backup/Server # chown _bbstored:_bbstored
>>> info.rfw
>>>
>>> touching a info.rfw didn't make any difference... same error in logs.
>>
>> I meant if you do it AS the _bbstored user, you'll be able to tell if
>> you get any permission denied messages.
>>
>> Also the info.rfw file won't be in /mnt/storage/Backup/Server, but in
>> a subdirectory depending on the account number, and it should already
>> exist.
>>
>> Cheers, Chris.
>
> _______________________________________________
> Boxbackup mailing list
> Boxbackup at boxbackup.org
> http://lists.boxbackup.org/cgi-bin/mailman/listinfo/boxbackup
More information about the Boxbackup
mailing list