clone ubuntu installation

Laura Conrad sunny-O0WJhd4tT3hg9hUCZPvPmw at public.gmane.org
Sat Jun 13 09:12:11 EDT 2009


>>>>> "Matthew" == Matthew Gillen <me-5yx05kfkO/aqeI1yJSURBw at public.gmane.org> writes:

    Matthew> ref wrote:
    >> The problem with this is that it does not deal with the configs that may
    >> go along with the packages, and that is something that has bugged me for
    >> a while. For example, say I have compizFusion on my machine, and I want
    >> to clone the machine. if I use the above, I will end up with a generic
    >> set of default settings in compizFusion, not all the tweaks and
    >> adjustments that I spent months fine tuning. This is also true of say
    >> apache settings, or mysql settings or php settings, or in fact and
    >> 'server' type application. I wish there was something out there that
    >> could do that ... other than 'dd' ;)

    Matthew> If the packages are all the same version, then just copying
    Matthew> /etc over should be sufficient for all configuration that
    Matthew> isn't in your $HOME dir.  (I usually save off /etc and /var
    Matthew> when upgrading my home server).

    Matthew> YMMV,

I thought about that, but you'd want to exclude the modules
stuff, at least, wouldn't you?  The new machine is likely to need some
different drivers from the old one.

The other problem with doing it that way is that part of the reason for
wanting a fresh install is to get the config file stuff you haven't been
getting because you've been saying, "Keep my version," instead of "Use
distribution version."

I always save /etc, but I wouldn't have thought of saving the whole of
/var.  Doesn't that get you a lot of junk?  (I know, disk space is cheap
these days.)

-- 
Laura   (mailto:lconrad-O0WJhd4tT3hg9hUCZPvPmw at public.gmane.org http://www.laymusic.org/ )
(617) 661-8097	233 Broadway, Cambridge, MA 02139   

Part of the joy of falling in love -- for the intelligent, the
watchers, the judicious -- is the delicious license to set something
above thinking clearly, the pleasure of being driven, taken over,
overwhelmed.

A. S. Byatt _Still Life_





More information about the Discuss mailing list