[Box Backup] BoxBackup (chris/merge) - Store Error

Matt Brown boxbackup@fluffy.co.uk
Sun, 2 Sep 2007 00:47:20 +0100


> Hi Matt,
>

Hi Chris,

> On Sat, 1 Sep 2007, Matt Brown wrote:
>
>> Well I made the change, recompiled and installed...
> ...
>> root@pegasus:/# bbstoreaccounts check 1 fix
>> NOTICE: Will fix errors encountered during checking.
>> Checking store account ID 0x000001...
>> Phase 1, check objects...
>> Phase 2, check directories...
>> Phase 3, check root...
>> WARNING: Root directory doesn't exist
>> Phase 4, fix unattached objects...
>> Phase 5, fix unrecovered inconsistencies...
>> Phase 6, regenerate store info...
>> NOTICE: New store info file written successfully.
>> WARNING:  Finished checking store account ID 0x000001: 0x1 errors  
>> found
>> WARNING:  You should now use bbackupquery on the client machine to  
>> examine WARNING:  the store.
>>
>>
>> I then logged into the client (local server on network -Orion-)  
>> and ran...
>>
>> root@orion:/# bbackupquery
>> NOTICE: Box Backup Query Tool vchris_merge_1792, (c) Ben Summers  
>> and contributors 2003-2007
>> Login complete.
>>
>> Type "help" for a list of commands.
>>
>> query > list
>>
>> I now have no files :(
>
> Ouch, sorry! Looks like that change is not such a good idea :( Ben,  
> is there any way to recover the original root directory or is it  
> lost for good?
>
> Matt, would it be a big problem to upload your data again, i.e. do  
> we need to work on data recovery for this problem?
>

No worries, I used a backup store of an account which was one of my  
local servers, so it can be scrapped and re-copied over the lan  
without any issues :-)

>> Sep  1 12:40:56 orion Box Backup (bbackupd)[13407]: Receive Success 
>> (0x1)
>> Sep  1 12:40:56 orion Box Backup (bbackupd)[13407]: Receiving  
>> stream, size 40
>> Sep  1 12:40:56 orion Box Backup (bbackupd)[13407]: Send  
>> CreateDirectory(0x1,0x43887f79f5f40,"home")
>> Sep  1 12:40:56 orion Box Backup (bbackupd)[13407]: Sending  
>> stream, size 49
>> Sep  1 12:40:56 orion Box Backup (bbackupd)[13407]: WARNING:  
>> Exception thrown: ConnectionException(Conn_TLSReadFailed) at  
>> SocketStreamTLS.cpp(338)
>> Sep  1 12:40:56 orion Box Backup (bbackupd)[13407]: ERROR: Failed  
>> to create remote directory '/*
>
> Looks like the server is really unhappy now. Are all files in that  
> directory owned by the bbstored user still? If any of them are now  
> owned by root, please could you change the ownership back to  
> bbstored? Are there any error messages in the syslog on the server?
>

They are all owned by _bbstored

Matt