[BlueOnyx:15860] Re: new GUI

Michael Stauber mstauber at blueonyx.it
Tue Sep 2 16:35:44 -05 2014


Hi Gregg,

> I also noticed that there was one thing missing on the new GUI.  Maybe it's
> hidden some where else I haven't found yet, but there used to be, under User
> Management, a way to export the user list.  In the new GUI this feature
> seems to be missing?

Yeah, I didn't port that by intent. The Old Export/Import function was
rather useless. It would export the user list, but wouldn't export the
passwords. So on import it either randomly assigned new passwords, or
used the combination username + suffix as the new password.

It wouldn't export/import any other data.

As is CMU does handle that a lot better. There you for example have the
option to export Vsite and User settings alone without any data such as
webpages, mail or other "ballast".

Additionally: I've been working on an emergency procedure that allows to
take a snapshot of a totally wrecked CODB database. You copy that to a
separate directory on another BlueOnyx (or upload the tarball of it via
the GUI).

It then parses the individual CODB Object directories and files within
that and extracts all relevant data.

At the end it creates a hash with all the server-settings, Vsite
settings and User settings. This hash is (at the moment) used to write
out two Perl scripts. When you run these scripts on a new box, it will
re-crate the Vsites and Users with all the settings they had before.
Including the passwords, as the GUI knew the MD5 hashes of them.

Other export/import formats such as XML or CSV are also thinkable. Or
letting the box where you uploaded the wrecked CODB automatically
recreate all (or selected) Vsites and Users recreate directly on it.

At the moment this is a rather crude "work in progress" that works, but
doesn't look nice. Just two days ago I rescued another wrecked BlueOnyx
with that when its CODB had gone totally corrupt and there were no
recent backups.

Eventually (when it's done) it'll make it into BlueOnyx 520XR and will
replace the old Export/Import functionality. But only when it does the
job better than "cmuExport -c / cmuImport -c" does it right now.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list