Re: flexible restore/install system

From: Ryan Nowakowski (tubaman_at_fattuba.com)
Date: 10/18/05

  • Next message: Daniel Déchelotte: "Re: guessnet problem"
    Date: Tue, 18 Oct 2005 11:34:34 -0500
    To: debian-user@lists.debian.org
    
    
    

    There are folks who have been thinking about this problem for a lot
    longer than you or me. Check out http://infrastructures.org for the
    concepts and ISConf[1] for the software.

    1. http://trac.t7a.org/isconf

    - Ryan

    On Tue, Oct 18, 2005 at 02:18:37PM +0200, Benedict Verheyen wrote:
    > Hi,
    >
    > at home I run a server with actually to many stuff on it to be safe. But
    > i want to test a lot of things that it evolved to this situation. It has
    > ldap, samba, courier, spamassassin, clamav, squirrel, exim4,...
    > Anyway, for normal quick restores, restoring a backup is quick and painless.
    >
    > But i was thinking of a way to not only "restore" the system but also
    > "move" it. For instance, my system acts weird sometimes because of my
    > tampering with it so i would love to start from a clean sarge install
    > but with all my data and services running on it without spending to much
    > time on the reinstall.
    >
    > To manage things better i've begun moving services to uml instances on
    > the server and it keeps thing organised.
    > Now this also makes restoring the services easy as one would only have
    > to install a base system, install needed utils (uml,bridge) and copy the
    > uml files containing the systems and start those.
    >
    > As for other files like /etc/profile, /etc/inputrc, /etc/environment, i
    > guess you could make a package containing those files and installing
    > them when you install the "customizing" package or whatever you would
    > call such a package.
    >
    > A server reinstall or recovery would look like this:
    > * install debian
    > * install "mybase" package
    > which would be a fake pacakge depending on real apps that you want to
    > * install like aptitude less vim
    > * install "base config files" package
    > package containing config files, ...
    > /etc/profile
    > /etc/inputrc
    > /etc/skel
    > /etc/environment
    > /etc/bash.bashrc
    > ...
    >
    > This would leave you with a server "customized" to your liking and with
    > the base apps you can't do without. Then further customizing would be
    > required to run the services:
    >
    > * install "uml base" package
    > installs uml-utilities bridge-utils + config files + root file system
    > /etc/init.d/uml-bridge
    > /etc/init.d/uml-start
    > /usr/local/uml/rootfs_template
    > /usr/local/uml/rootfs
    >
    > Next would be restoring the data
    > * restore /root /home
    >
    > As for backups, you would need to backup /root /home and the uml systems
    > + maintain changes you make to files used in the custom packages.
    >
    > As said, this is not the fastest restore method but with regards to
    > reinstalling a server it might be pretty quick and versatile.
    >
    > 1. Is this doable? Any things i'm overlooking/comments/...
    > 2. What would be an easy way to making such custom packages be it for
    > installing config files or fake packages used to install your favourite
    > apps?
    >
    > Regards,
    > Benedict
    >
    > --
    > Benedict Verheyen Debian User
    > http://www.heimdallitservices.be Public Key 0x712CBB8D
    >
    >
    > --
    > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact
    > listmaster@lists.debian.org

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Daniel Déchelotte: "Re: guessnet problem"

    Relevant Pages

    • Re: Good practices with NFS sharing of binaries
      ... > In order to avoid having to install the same software on different ... Sharing the binary packages via automounter is quite a common practice. ... *building* the binaries on production NFS server is IMHO ... then you can look into the package and figure out whether ...
      (comp.unix.solaris)
    • Re: SSIS package wont run in production server
      ... I also would like to mention that on my production server, ... When you run the setup of SQL 2005, it is indeed possible to install only ... I have a package that I developed on my local machine and runs well. ...
      (microsoft.public.sqlserver.dts)
    • Re: The task ... cannot run on this edition of integration services. It requires a higher level edit
      ... My problem is that I can run/debug package in Visual Studio on my client PC, ... installed on the server. ... Without SSIS install, with just Tools install, user can design and debug ... Microsoft Online Community Support ...
      (microsoft.public.sqlserver.dts)
    • flexible restore/install system
      ... at home I run a server with actually to many stuff on it to be safe. ... Anyway, for normal quick restores, restoring a backup is quick and painless. ... to install a base system, install needed utils and copy the ... them when you install the "customizing" package or whatever you would ...
      (Debian-User)
    • How to remove exim4 when aptitude doesnt think its installed?
      ... aptitude doesn't think the package is installed? ... I have restored a crashed system by first doing a Debian base install ... and then restoring the file system from backup over the top. ... for instance files relating to the exim4 ...
      (Debian-User)