[Box Backup] Unable to restore (old version) of a file

Micha Kersloot boxbackup@boxbackup.org
Wed, 12 Aug 2009 09:49:26 +0200


> Hi Micha,
>
> On Mon, 10 Aug 2009, Micha Kersloot wrote:
> > ehh help!
>
> I'll try :)

Thanx!
>
> > I'm trying to restore an previous version of a file (picture in this
> > case) but it ends with an error. Client side:
>
> [...]
>
> > bbackupquery "cd /mima/Fotos/b03/" "get -i 00004336 1.jpg" "quit"
>
> [...]
>
> > WARNING: Exception thrown: ConnectionException(Conn_TLSReadFailed) at
> > SocketStreamTLS.cpp(377)
>

New client log:
root@mmserver:~# date; bbackupquery "cd /mima/Fotos/b03/" "get -i 00004336 
1.jpg" "quit"
Wed Aug 12 09:42:26 CEST 2009
NOTICE: Box Backup Query Tool v0.11rc2, (c) Ben Summers and contributors 
2003-2008
Login complete.

Type "help" for a list of commands.

WARNING: Exception thrown: ConnectionException(Conn_TLSReadFailed) at 
SocketStreamTLS.cpp(377)
ERROR: Failed to fetch file: Connection TLSReadFailed (Probably a network issue 
between client and server, or a problem with the server.)
WARNING: Exception thrown: ConnectionException(Conn_TLSReadFailed) at 
SocketStreamTLS.cpp(377)
Exception: Connection TLSReadFailed (Probably a network issue between client 
and server, or a problem with the server.) (7/34)


> Sounds like an error on the server side.
>
> > And on the server:
> > Box Backup (bbstored)[3807]: NOTICE: Login from Client ID 0x00000004
> > Read-only
>
> Please could you provide timestamped logs so that I can see if these

Server log
Aug 12 09:42:12 pakhuis Box Backup (bbstored)[23440]: Client certificate CN: 
BACKUP-4
Aug 12 09:42:13 pakhuis Box Backup (bbstored)[23440]: NOTICE: Login from 
Client ID 0x00000004 Read-only
Aug 12 09:42:13 pakhuis Box Backup (bbstored)[23440]: Sending stream, size 184
Aug 12 09:42:13 pakhuis Box Backup (bbstored)[23440]: Sending stream, size 
1113
Aug 12 09:42:13 pakhuis Box Backup (bbstored)[23440]: Sending stream, size 
4897
Aug 12 09:42:13 pakhuis Box Backup (bbstored)[23440]: Sending stream, size 
15433
Aug 12 09:42:13 pakhuis Box Backup (bbstored)[23440]: ERROR: FileStream: 
called with invalid file handle
Aug 12 09:42:13 pakhuis Box Backup (bbstored)[23440]: WARNING: Exception 
thrown: CommonException(OSFileOpenError) at FileStream.cpp(117)
Aug 12 09:42:13 pakhuis Box Backup (bbstored)[23440]: Connection statistics 
for BACKUP-4: IN=168 OUT=21807 TOTAL=21975
Aug 12 09:42:13 pakhuis Box Backup (bbstored)[23440]: ERROR: Error in child 
process, terminating connection: Common OSFileOpenError (Can't open a file -- 
attempted to load a non-existant config file or bad file referenced within?) (1/
2)

>
> Also, what version of Box Backup are you running on the server?
pakhuis ~# bbstored --version
0.11rc2

>
> > So is my file lost?
>
> It shouldn't be, this sounds like a fixable bug, but it may take some
> patience to get your file back. In the mean time, you might like to
> download the encrypted version with the "getobject" commmand, to ensure
> that it doesn't get deleted by housekeeping (or ensure that you have
> plenty of free space to the soft limit of your account).

For now I have plenty of free space

-- 
Met vriendelijke groet,

Micha Kersloot

http://www.kovoks.nl/
KovoKs B.V. is ingeschreven onder KvK nummer: 11033334