[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: migrating my lenny install from 32-bit to 64-bit?



On Wed, 16 Sep 2009, Sjoerd Hardeman wrote:

> Robert P. J. Day schreef:
> >   i've mentioned this before, but by the end of this week, i want
> > to move my entire current (fully-updated) lenny install from an
> > old 32-bit system to a new 64-bit dell server, and i'm open to
> > advice on the easiest and most error-free way to do that.
> >
> >   i've already duplicated the software packages on the new server,
> > so what's left is to transfer over the remainder of the
> > configuration -- mail server, web server, user accounts, etc.
> > the whole ball of wax.
> >
> >   since both systems have webmin, someone suggested doing a webmin
> > backup on the old system, then just restoring it on the new one,
> > which makes a certain amount of sense as long as webmin can be
> > trusted to reproduce configuration info accurately.

> Why not just copy /etc, /home, /root and /var, and make sure you do
> not follw symlinks in copying. That should do.

  that's sort of the idea i had in mind, but not quite that
brute-force.  after some reflection, i'm willing to spend a little
more time migrating stuff over subsystem by subsystem, just to give me
the chance to see how those things fit together.

  for example, obviously i'm going to (mindlessly) copy over all of
/home, but for that to make sense, i'll need to reproduce the
/etc/{passwd,group,shadow} files, plus perhaps /etc/profile and
related files, and anything that was added to the PAM subsystem
regarding user settings.  it's a bit more work, but it would be more
educational.  so, in that specific case, i'd be interested in all of
the files that contain any information related to users and groups.

  regarding /var, i wouldn't want to copy over all of it since i have
no interest in all the log files, which wouldn't be relevant to the
new system.  so i'd have to be more selective.  but i *would* want to
copy over anything under /var that *would* reflect any configuration
or data.

  a question about mysql.  i want to reproduce all the mysql databases
on the new system.  is it sufficient to copy all of /var/lib/mysql?
is that where the databases are physically stored?  as opposed to
doing mysql dumps and restores?

  anyway, that's what i'm thinking -- one subsystem or component at a
time, so i can appreciate the distinctions between all the parts.  ftp
server.  mail server.  web server and configuration.

  good idea?  too much work?  thoughts?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================


Reply to: