[Sugar-devel] Proposing backup/restore as feature for 0.102

Gonzalo Odiard gonzalo at laptop.org
Mon Nov 11 08:40:19 EST 2013


One of the features we want upstream is Backup/Restore of the Journal.

There are already a page for this feature [1] but the currently only
is implemented
the backup/restore to a connected device (pen drive), and not to/from
the school server.

I did the port to Sugar 0.100 of the code in dextrose, (patches [2] and [3])
but still think need more work before pushing upstream.

Here my comments/questions:

* Right now, the access to backup/restore functionality is available in the menu
of the connected device (see [4]). May be should be in the Journal button,
to allow other destinations in the future, like google drive/dropbox/etc?
Or should be as a option in the control panel? (If the control panel is only
for configuration this may be not the right place)

* The screen look alien [5]. Should be better if we add a toolbar or
should be in a modal dialog similar to the control panel/ object chooser?

* We need a better icon.

* The actual implementation have scripts to backup/restore from the
command line.
Then the sugar code execute the scripts, and the scripts execute tar. Is needed
this indirection or should be better call tar from sugar?

This implementation can be tested in our AU images [6]

Comments?

Gonzalo

[1] http://wiki.sugarlabs.org/go/Features/Backup_and_Restore

[2] https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Backup-and-Restore-to-a-mounted-device.patch

[3] https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Fix-backup-restore-functionality-SL-4616.patch

[4] http://wiki.sugarlabs.org/go/File:Backup_usb_menu.png

[5] http://wiki.sugarlabs.org/go/File:Backup_before.png

[6] http://wiki.sugarlabs.org/index.php?title=0.100/Testing


More information about the Sugar-devel mailing list