[Server-devel] XS backup/restore feature

Sameer Verma sverma at sfsu.edu
Wed Jul 29 21:55:05 EDT 2009


On Wed, Jul 29, 2009 at 6:37 PM, Martin Langhoff
<martin.langhoff at gmail.com>wrote:

> On Wed, Jul 29, 2009 at 12:17 PM, Daniel Drake<dsd at laptop.org> wrote:
> > Any interest in adding functionality to the XS to back up and restore
> user data?
>
> Yes!
>
> > Including:
> >  - stuff that has been posted on moodle
> >  - XO backups
> >  - registration information
>
> Yes...
>
> > but *not* stuff where deployments should always have a master copy
> elsewhere:
> >  - activities from activity server
> >  - OS images in xs-rsync
> >  - system files
> >  - ...
>
> Makes sense.
>
> > Here's an initial implementation, which can be used to create a
> > single-file compressed backup which can then be copied to an external
> > storage device.
>
> Where do you want to back it up to? I really like the idea of having a
> "standard" single file backup that we can use over various modes of
> storage (as your patch implements), but some storage "backends" would
> be better served with an rsync-friendly format (and tgz ain't).
>
> And the difference is not small.
>
> > Backup part has been tested, but not restore just yet. Needs a patch
> > to idmgr create_user too. What do you think?
>
> Initially I thought that the UID/user mapping would have to be saved
> and restored, but tar defaults to username rather than numberic
> uid/gid.
>

tar --numeric-owner should work, right?

 Sameer


> You _will_ want to restore the ACLs in the backup (they're trivial,
> don't bother to save them). They are set in the script we trigger
> post-backup-completion.
>
> 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
> _______________________________________________
> Server-devel mailing list
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20090729/095830c7/attachment.htm 


More information about the Server-devel mailing list