<div dir="ltr">The level of indirection was added because it used different backup mechanisms, IE: to the XS (via dsd's rsync scripts) and to memory sticks. Not sure who else is using dsd's scripts, other than Paraguay though.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 11, 2013 at 10:40 AM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One of the features we want upstream is Backup/Restore of the Journal.<br>
<br>
There are already a page for this feature [1] but the currently only<br>
is implemented<br>
the backup/restore to a connected device (pen drive), and not to/from<br>
the school server.<br>
<br>
I did the port to Sugar 0.100 of the code in dextrose, (patches [2] and [3])<br>
but still think need more work before pushing upstream.<br>
<br>
Here my comments/questions:<br>
<br>
* Right now, the access to backup/restore functionality is available in the menu<br>
of the connected device (see [4]). May be should be in the Journal button,<br>
to allow other destinations in the future, like google drive/dropbox/etc?<br>
Or should be as a option in the control panel? (If the control panel is only<br>
for configuration this may be not the right place)<br>
<br>
* The screen look alien [5]. Should be better if we add a toolbar or<br>
should be in a modal dialog similar to the control panel/ object chooser?<br>
<br>
* We need a better icon.<br>
<br>
* The actual implementation have scripts to backup/restore from the<br>
command line.<br>
Then the sugar code execute the scripts, and the scripts execute tar. Is needed<br>
this indirection or should be better call tar from sugar?<br>
<br>
This implementation can be tested in our AU images [6]<br>
<br>
Comments?<br>
<br>
Gonzalo<br>
<br>
[1] <a href="http://wiki.sugarlabs.org/go/Features/Backup_and_Restore" target="_blank">http://wiki.sugarlabs.org/go/Features/Backup_and_Restore</a><br>
<br>
[2] <a href="https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Backup-and-Restore-to-a-mounted-device.patch" target="_blank">https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Backup-and-Restore-to-a-mounted-device.patch</a><br>
<br>
[3] <a href="https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Fix-backup-restore-functionality-SL-4616.patch" target="_blank">https://github.com/godiard/au1b_rpms/blob/master/sugar/0001-Fix-backup-restore-functionality-SL-4616.patch</a><br>
<br>
[4] <a href="http://wiki.sugarlabs.org/go/File:Backup_usb_menu.png" target="_blank">http://wiki.sugarlabs.org/go/File:Backup_usb_menu.png</a><br>
<br>
[5] <a href="http://wiki.sugarlabs.org/go/File:Backup_before.png" target="_blank">http://wiki.sugarlabs.org/go/File:Backup_before.png</a><br>
<br>
[6] <a href="http://wiki.sugarlabs.org/index.php?title=0.100/Testing" target="_blank">http://wiki.sugarlabs.org/index.php?title=0.100/Testing</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div><br></div>