[CentOS] Moving files to new server

Thomas E Dukes edukes at alltel.net
Sun Mar 12 01:19:36 UTC 2006


> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Sudev Barar
> Sent: Saturday, March 11, 2006 8:13 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Moving files to new server
> On 12/03/06, Thomas E Dukes <edukes at alltel.net> wrote:
> > The rsync works fine.  I used it to copy /home /var and /etc to the 
> > new server.  But something went wrong.  I think I copied 
> something in 
> > /etc I shouldn't have.  The system won't mount the drive.  I am 
> > currently re-installing CentOS.
> >
> > Any idea of what I SHOULDN'T copy?
> I would not copy /etc since it stores all setting files. Most 
> likely it is /etc/fsatb file that is creating problems as 
> your new system is looking for drives/partitions/lables that 
> probably do not exists or are named differently on new system.
> I would be selective in coprying /var too.

That was my thinking also.  I made a backup copy of /etc/fstab but it would
not let me overwrite the fstab that was copied.  Unfortunately, I need most
of the config files in that directory and sub-directories.  Knowing which
ones to copy and not to copy could be a very lengthy experience.

What should I be careful about coping in /var?


More information about the CentOS mailing list