[Box Backup-dev] Testing Boxi 0.1.1

E.W. Peter Jalajas boxbackup-dev@fluffy.co.uk
Sun, 1 Oct 2006 13:23:20 -0700 (PDT)


Moving to dev list...

And then I didn't like what I was seeing under Backup, Edit List, that
is, a red X at C:\Documents and Settings forced by Boxi because I had 
	DocsSettings
	{
		Path = C:\Documents and Settings
		ExcludeDirsRegex = .*
		ExcludeFilesRegex = .*
		AlwaysIncludeFile = C:\Documents and Settings\boxitest.txt
	}

So, I guess that's a

BUG:  ExcludeDirsRegex = .* plus ExcludeFilesRegex = .* forces
excluding entire dir tree, ignoring AlwaysIncludeFile.

So, I tried an experiment with 
	C_PF_BoxBackup
	{
		Path = C:\Program Files\Box Backup
	}
and it backed up fine (even with the "Certificate does not match"
warning under the Configuration panel).

BUG: Certificate checking has a hex/ascii translation problem.

The Backup Progress panel, Statistics, Files, Elapsed "24" seemed
correct; Bytes said "51 (null)" -- not sure what that means. 

POSSIBLE BUG:  Bytes calcs bad?

Testing Restore, I pointed to some old file, set Restore Destination,
New Location, to a non-existing C:\PF\Box Backup\test\ directory, and
it restored the single selected file correctly to the boxi-created new
test\ directory.  

BUG:  Well almost restore correctly:  it was restored with a datestamp
4 hours in the future (time zone issue, I'm sure).  (And so, future
backup attempts gave Warning: file modified in the future.  So I
deleted that restored file.

BUG:  That newly created C:\PF\Box Backup\test\ directory never
appeared  in the Backup Files or Restore Files panels after further
Backup runs, until I restarted Boxi, then they showed up fine.  

(The Restore to Date function on the Restore panel looks very
interesting, but I haven't tested it yet.)

Not sure if the menu, View options are working (show old/deleted
files).    Deleted files look like they are greyed out in the Restore
Files panel, and that seems fine.  Not sure how old files are shown, so
I tried to test it by modifying a file under the test\ directory.  

BUG:  Attempts to restart boxi and look under Restore Files and
navigating to that test\ directory caused boxi to crash with a
"boxi.exe has encountered a problem" window.  

I'll keep playing with it.

Thanks again, Chris, for all the hard work!
Pete
 

--- "E.W. Peter Jalajas" <pjalajas@tebuco.com> wrote:

> And now I notice the cmd window is still open with all of this.  I
> hope
> it helps:
> 
> No random device -- additional seeding of random number generator not
> performed.
> 
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41eb1c780e300,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 201
> Send DeleteDirectory(0x8e)
> Receive Success(0x8e)
> Send DeleteFile(0x8c,"LitPath.lpt")
> Receive Success(0x8d)
> Send SetClientStoreMarker(0x41ec41f284a00)
> Receive Success(0x41ec41f284a00)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41ec41f284a00,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 89
> Send SetClientStoreMarker(0x41ec4254bf1c0)
> Receive Success(0x41ec4254bf1c0)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41ec4254bf1c0,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 89
> Send SetClientStoreMarker(0x41ec430bda1c0)
> Receive Success(0x41ec430bda1c0)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41ec430bda1c0,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 89
> Send SetClientStoreMarker(0x41ec4346fad40)
> Receive Success(0x41ec4346fad40)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x10002037,0x0)
> Receive LoginConfirmed(0x41ec4346fad40,0x1446,0x1388000,0x19a2800)
> Connection made, login successful
> Send ListDirectory(0x1,0x2,0xc,false)
> Receive Success(0x1)
> Receiving stream, size 208
> Send ListDirectory(0x8c,0xffffffff,0xc,true)
> Receive Success(0x8c)
> Receiving stream, size 89
> Send SetClientStoreMarker(0x41ec4386e0400)
> Receive Success(0x41ec4386e0400)
> Send Finished()
> Receive Finished()
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x989e75,0x0)
> Receive Error(0x3e8,0x3)
> Opening connection to server brick...
> Send Version(0x1)
> Receive Version(0x1)
> Send Login(0x989e75,0x0)
> Receive Error(0x3e8,0x3)
> 
> 
> --- "E.W. Peter Jalajas" <pjalajas@tebuco.com> wrote:
> 
> > I should have added that on the Configuration panel, Basic tab,
> when
> > I
> > change the Account Number to 10002037 (no leading 0x), and move out
> > of
> > that text box, it auto converts itself to "0x989e75" and then I get
> > the
> > green check mark that says "Configuration looks OK".  Under the
> > Backup
> > tab, I click Start Backup, and I get a Msg box and Errors entry
> with
> > unswipeable "Error: cannot start backup, failed to connect to
> server:
> > Connection Protocol UnexpectedReply (Server probably reported an
> > error"), and Summery  "Backup failed". 
> > 
> > --- "E.W. Peter Jalajas" <pjalajas@tebuco.com> wrote:
> > 
> > > Hi Chris,
> > > 
> > > Great work, thanks.  I'm testing it now and am having trouble
> > getting
> > > it going.  
> > > 
> > > I copied all the files from the boxi zip into C:\Program
> Files\Box
> > > Backup\
> > > I created a bbackupd subdir there.
> > > I copied my certs/keys/conf file into C:\Program Files\Box
> Backup\
> > .
> > > My key/cert files are of the name form:
> > > C:\Program Files\Box Backup\10002037-FileEncKeys.raw
> > > I launched boxi.exe.
> > > Under Configuration/Basic, I get the error msg:
> > > "The certificate doesn't match the account number.  The common
> name
> > 
> > > of
> > > the certificate should be 'BACKUP-268443703', but is actually
> > > 'BACKUP-1002037'. 
> > > 
> > > FEATURE REQUEST:  I wish I could swipe and copy the error message
> > (or
> > > that it had a unique short number).  
> > > 
> > > I ran the backup anyway, and it said it completed succesfully
> > > (Summary:
> > > Backup finished.  Current action:  Idle (Nothing to do).  Errors:
> > > Backup finished (and a note about my old redundant backup
> > locations).
> > > 
> > > Under Statistics (cool feature!), Files Total 0, Bytes 0 (Null). 
> 
> > > BackupLocations:
> > > BackupLocations
> > > {
> > > 	DocsSettings	
> > > 	{
> > > 		Path = C:\Documents and Settings
> > > 		ExcludeDirsRegex = .*
> > > 		ExcludeFilesRegex = .*
> > > 		AlwaysIncludeFile = boxitest.txt
> > > 	}
> > > }
> > > 
> > > Other test settings:UpdateStoreInterval = 3
> > > MinimumFileAge = 4
> > > MaxUploadWait = 24
> > > FileTrackingSizeThreshold = 1024
> > > DiffingUploadSizeThreshold = 1024
> > > MaximumDiffingTime = 8
> > > 
> > > Let me know if there's anything I can do to get through this
> block,
> > > and
> > > after that, what parts you'd like me to exercise. 
> > > 
> > > Thanks again, Chris,
> > > Pete
> > > 
> > > 
> > > --- Chris Wilson <chris@qwirx.com> wrote:
> > > 
> > > > Hi Pete and all,
> > > > 
> > > > >> Boxi has a GUI wizard for generating certificates in the new
> > > > version, 
> > > > >> that links directly to the relevant OpenSSL code, so it
> > doesn't
> > > > require 
> > > > >> any Unix shell or openssl.exe.
> > > > >>
> > > > >> I haven't compiled it on Windows yet, but it's one of my
> next 
> > > > >> priorities, and I intend to give you a pre-pre-prerelease
> for
> 
=== message truncated ===