<div class="gmail_quote">On Tue, Jan 17, 2012 at 11:49 AM, Sascha Silbe <span dir="ltr"><<a href="mailto:silbe@activitycentral.com">silbe@activitycentral.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Excerpts from Christoph Derndorfer's message of <a href="tel:2012-01-13%2020" value="+12012011320">2012-01-13 20</a>:29:34 +0100:<br>
<br>
[Backup activity]<br>
<div class="im">> > Make a backup of the Journal entries...<br>
> ><br>
> > The process is make an .tar.gz of all entries and save in a folder into an<br>
> > usb: /backup/SN###### (SN#... is the serial of the XO)<br>
<br>
</div>Slight correction: JEBs ([1], the same format the XS uses) are zip<br>
files, not tar.gz files. The file name includes the user name (as used<br>
in Sugar), so it should be easy to figure out who each backup belongs<br>
to.</blockquote><div><br></div><div>That point about the file name including the user name is good to know. :-)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> > PD: in ourt Uruguayan image.. Dextrosa.. The backup/restore are<div class="im">
> > functions<br>
> > that appears in the Journal..<br>
> > I think that is the same script that this activities had..<br>
<br>
</div>Nop, the format used by the Dextrose backup / restore feature is<br>
completely different. It tars up the on-disk data structures of<br>
sugar-datastore and dumps them to the same place, removing a special<br>
file to trigger reindexing. This happens to work for current versions of<br>
sugar-datastore, but is a bad idea in general. It wouldn't have worked<br>
with sugar-datastore < 0.84 and doesn't work with gdatastore [2].<br>
<div class="im"><br>
<br>
> thanks for your suggestion. I had looked into the Backup Activity but<br>
> according to the description on ASLO it only works with the data store from<br>
> Sugar 0.84 onwards and these machines are still running on build 767 which<br>
> shipped with Sugar 0.82 (though I hope to *finally* upgrade them to 11.3.0<br>
> next month).<br>
<br>
</div>I found and fixed the source of your confusion. Seems I forgot to update<br>
the description after adding support for 0.82; sorry for that.<br>
<br>
While I have been rigorous in testing Backup and Restore with all<br>
combinations of a range of Sugar versions from 0.82 to 0.89 (0.90), the<br>
oldest OLPC OS build I have running is 801, so I'd recommend testing<br>
Backup with OLPC OS build 767 first before relying on it. If you do test<br>
it on 767, please let me know the results so I can mention them on<br>
a.sl.o.<br></blockquote><div><br></div><div>This is excellent information.</div><div><br></div><div>I'll definitely keep you posted with my findings once I have some time to test things in late January / early April. :-)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Doing a full backup is a good idea regardless of any "cherry-picking"<br>
you do. It allows you to go back and extract additional objects that you<br>
(or the kids) forgot during the first run.<br></blockquote><div><br></div><div>Yeah, good point!</div><div><br></div><div>Thanks,<br>Christoph</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sascha<br>
<br>
[1] <a href="http://wiki.laptop.org/go/Journal_entry_bundles" target="_blank">http://wiki.laptop.org/go/Journal_entry_bundles</a><br>
[2] <a href="https://git.sugarlabs.org/gdatastore" target="_blank">https://git.sugarlabs.org/gdatastore</a><br>
<span class="HOEnZb"><font color="#888888">--<br>
<a href="http://sascha.silbe.org/" target="_blank">http://sascha.silbe.org/</a><br>
<a href="http://www.infra-silbe.de/" target="_blank">http://www.infra-silbe.de/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Christoph Derndorfer<div><br></div><div><div>volunteer, OLPC (Austria) [<a href="http://www.olpc.at/" target="_blank">www.olpc.at</a>]<br><div>editor, OLPC News [<a href="http://www.olpcnews.com/" target="_blank">www.olpcnews.com</a>]<br>
contributor, TechnikBasteln [<a href="http://www.technikbasteln.net/" target="_blank">www.technikbasteln.net</a>]</div></div><div><br></div><div>e-mail: <a href="mailto:christoph@derndorfer.eu" target="_blank">christoph@derndorfer.eu</a></div>
<div><br></div></div><br>