Josh, Ryan, Paul,
I have combined the three major new features you are developing
and checked them into CVS:
* Major changes from Ryan Kucera to add style sheets to the CGI
interface, allowing easy customization. Added new icons and
BackupPC logo. Numerous navigation improvements.
* Major addition of Archive feature from Josh Marshall. Special
clients can be configured to be archive targets (eg: tape drives,
CD-R). Any subset of the backup clients can be selected and tar
archives are created, optionally compressed and split and written
to the output device. Logs are maintained and are browsable.
* Addition of administration options from Paul Lukins. Initial
admin page allows server to be started/stopped/reloaded.
There are also some significant changes from me that keep partial
(failed) fulls around until the next one succeeds. This is the
first step in allowing failed fulls to be resumed. The partials
can be browsed etc (although these features are untested).
There are lots of things that are broken or not quite right:
- First off, Josh's and Paul's new html doesn't have the CSS
tags from Ryan.
- Ryan: several things are broken:
- On Mozilla, the 18% nav bar width doesn't include the margins,
but on IE it does. So on Mozilla when I select a host the left
bar extends too far to the right.
- When I select a backup when browsing it doesn't preserve the
- The selection box to pick a restore host isn't filled in.
(Also, if there are a *lot* of hosts we probably still
want to use a simple text box.)
- I don't like building the entire $content before outputting it.
The place where this is undesirable is when you display a
huge log file. Your new way will eat lots of memory.
One solution is to allow the 2nd arg of Header() to be
a sub ref that outputs the content.
- Paul: changes look ok (I made a couple of minor edits) but I
haven't tested much yet).
- Josh: a few comments from some quick testing:
- We can't rely on the share name being "/". There could be
multiple shares too (and they might contain "/" characters).
Perhaps we should add an option to BackupPC_tarCreate that
does all the shares in a single tar file?
- I don't see how the shell scripts work if I don't have par
installed. Shouldn't there be some if () statements? I
would prefer these be short perl scripts since everything
else is perl.
As each of you polish your code, merging the diffs will now
be easier since the massive overlapping changes are complete.
I'll try to test some more over the weekend; I'm sure there are
lots of other things that need fixing.
Also, the de.pm, fr.pm and es.pm files need massive changes and
updates. Let's not worry about this yet until en.pm is stable.
Then a kind volunteer can marge the html tag changes and new
strings into the other language files for later translation
by our language experts.
Thanks for the great work on these features!