[Sugar-devel] Journal Backup/Restore UI

Martin Langhoff martin.langhoff at gmail.com
Mon Mar 29 04:14:18 EDT 2010


On Mon, Mar 29, 2010 at 2:22 AM, Bernie Innocenti <bernie at codewiz.org> wrote:
> However, it looks like it would take a couple of months of effort to get

I think you are overengineering this.

 - Single-file restore is well solved by Moodle's backup/restore UI + Browse

 - As you found out, librsync isn't what you want... just rsync _all_
of it, and then inject each entry using copy-to-journal. It doesn't
fix the disk usage problem, but it sure solves the "restart datastore"
and the associated issue that you are deleting whatever new was in the
Journal. You are not "restoring".

Stoopid question: can't you 'FUSE'-mount the XS directory with sshfs
and then use copy-to-journal? Latency will make that a tad slower, but
the local-diskspace issue is gone.



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Devel mailing list