Hi Folks

now that I have finally grasped the finer detals of building LEAF, I can
head for a few things that IMHO are missing in LEAF

- simple backup and restore
- simple upgrade

So I did some brainstorming over a glass of red wine and came up with a
few function primitives which might help to achieve this goal.

Prerequisites:

- R/W access to boot and storage media, this unfortunately excludes CD
based installations.
- a web site which holds the image content for all supported architectures
- a mechanism for identifying the latest stable release. I am suggesting
a DNS txt record for this, something like 'latest.stable.releases.leaf.org'.
- a multi boot capable bootloader, I have been using grub for most of my
LEAF experience, but I believe syslinux will cut this too.
- sufficient space on the storage media for at least 2 bootable
partitions plus une partition for managing content. This is necessary
for systems with insufficient memory to manage everything in RAM
- all boot and package relevant parameters _must_ be defined in the boot
loader. Right now this only affects LRP and PACKAGEPATH.
- configdp.lrp needs to be sufficiently stable across multiple releases

suggested primitives

- clone
used to clone the current running system to the backup partition.
- revert
reinstall the primary boot partition with the contents of the backup
partition
- export
build a binary image of the current system for export using a web interface
- import
reimport the binary image to the primary boot partition

- upgrade
analyse the content of the primary boot partition, download new versions
of  the installed packages along with the latest kernel and initrd
according to the architecture, build a moddb according to the modules
loaded and install everything to the primary boot partition.

The goal must be to have an updated ready to run leaf distro.

Most of the necessary code to achieve this is already available in LEAF,
only a few functions have to be added.

Thanks for feedback

cheers

Erich

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to