[Sugar-devel] Restoring journals on newer versions of Sugar
bernie at sugarlabs.org
Wed Jun 1 10:24:41 EDT 2011
Answering your question on IRC:
<christophd> hi all
<christophd> I've got a question related to Journal backup/restore: is
it realistically possible to get Journal entries created on 8.2 to
11.1.2 with the help of dsd_'s scripts or other ways?
Yes. If you make a tarball from the contents of
~/.sugar/default/datastore created on an older Sugar release, then
unpack it in the same location on a newer release, the datastore will
automatically upgrade it to the current format.
In fact, the jorunal backup/restore GUI in Dextrose  is a distant
cousin of Daniel Drake's scripts. It also performs backups/restores to
the schoolserver using rsync, which is what most users do across
Getting all the little details right wasn't easy, we had to do a lot of
testing in various scenarios, and there are still a few corner cases
that we haven't taken care of. For example, if the next version of the
OS grows bigger, restoring a very large datastore would fail.
The next step would be allowing users to browse remote datastores on the
schoolserver and restore individual files. This isn't as hard as it may
sound, because the on-disk format of the schoolserver is just an rsync
of a regular datastore, and the user has full ssh access to it, so it
would be easy to access it with FISH .
Sugar Labs Infrastructure Team
More information about the Sugar-devel