[Sugar-devel] [PATCH] Journal Volumes Backup and Restore
Martin Abente
mabente at paraguayeduca.org
Mon Jun 28 17:21:39 EDT 2010
On Mon, 28 Jun 2010 16:13:33 -0400, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> On Mon, Jun 28, 2010 at 3:58 PM, Martin Abente
> <mabente at paraguayeduca.org> wrote:
>> Well, originally I added a XS backup and restore option (Journal
>> Management) into the Control Panel. Even when it was not intended for
>> upstreaming, I sent it to the mailing list, therefore a discussion
>> started
>> about where these backup and restore options should go. Finally, this
>> idea
>> of having the options in the resouces (volumes) palette was the most
>> wanted.
>
> By whom? ... what is the scenario where you need to click on the backup
> button?
>
The ones that replied to the previous emails sent by Esteban Arias a few
months ago, James Cameron, Bernie and myself.
http://lists.sugarlabs.org/archive/sugar-devel/2010-April/023273.html
> [ The only one *I* know of is just before an upgrade... once a year? ]
>
I think regular backups are healthy and we should encourage kids to do
them.
NOTE: This is a backup to removable storage devices, not talking about the
automated xs backup.
>> Not yet, it does a full restore from the one that is available on the
>> storage device.
>
> What worries me with this is that it _destroys anything done since the
> last backup_.
>
Yes, it is a problem to loose _some_ data. But it is a bigger problem to
not being able to backup and restore, loosing _all_ data. For now this is
the state of the art :)
>> At first sight it seemed easy to just append data
>
> It _is_ easy...
>
>> to cover scenarios (Corner cases). Mostly the ones when you have to
>> consider the very few space available
>
> But the "full restore" case also has to handle low-disk-space. What do
> you do when the data to restore does not fit in the disk? (For
> example, because the user has downloaded & installed large
> activities...)
>
We have no complete solution for that problem, still working on it.
Help in the form of working code is always welcome :)
> cheers,
>
>
> 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 Sugar-devel
mailing list