Hello,
I need a complete list of the files in the /etc directory of a RedHat
8.0 server that configure hardware or networking characteristics of
the server.
To give you a better idea of what I need, let me tell you what I'm
doing. I am migrating a RedHat 8.0 installation that is located on a
virtual server over to a dedicated server (also running RedHat 8.0).
I wish to preserve not only user data, but all of the applications and
custom configurations that I have made (such as qmail, apache, horde
etc.)
In order to do this, I have set up rsync as a daemon on the new server
and written a script on the client side to synchronize the files. My
script included the /bin, /command, /home, /sbin, /var, /lib,
/service, /usr, and /etc directories for syncing. It does not include
the /proc, /tmp, /boot, /dev, or /root directories.
The problem arises when I sync the /etc directory. Since I do not
have physical access to either server, I can't just insert a CD and
modify files like /etc/fstab, /etc/hosts, /etc/sysconfig/network etc.
Hence the need for a complete list of files that directly relate to
hardware instead of software configuration so that I can exclude them
from the sync. |
Clarification of Question by
astanford-ga
on
12 Aug 2003 09:49 PDT
Thank you for responding! Unfortunately, that doesn't really answer
my question, as so many files are distro-specific. To give examples,
on RedHat, I have isolated the following files (excluding those you
have already mentioned).
/etc/sysconfig/
/etc/hosts
/etc/hostname.eth0
/etc/sysctl.conf
/etc/hotplug/
/etc/grub.conf (same as lilo)
I would like to have reasonable confidence that the list is
comprehensive for RedHat 8.0. If a couple of files were missing and I
had to go through the procedure once or twice, that would be fine, but
I'd prefer not to have to iterate more than a couple of times.
The dry run idea is great and I plan on implementing it, but if it
fails I have to reload the OS each time :-(
|