Moving files to new server

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



 

> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx 
> [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Les Mikesell
> Sent: Sunday, March 05, 2006 1:01 PM
> To: CentOS mailing list
> Subject: RE:  Moving files to new server
> 
> Version-level upgrades are always a bad idea because they can 
> leave old stuff around.  I'd recommend taking this 
> opportunity to clean things up with a fresh install and only 
> copy over the contents of the home directories and any ftp or 
> web sites that might be set up.  Bring the new machine up 
> with a different IP and name at first, then copy over things 
> and configure it to match the old one, keeping a log of 
> anything you have to do that isn't completely obvious.
> You can copy files with 'scp file newmachine:/path' or 
> directories or files with:
> rsync -av -essh source newmachine:/path/to/target.
> Copy over /etc/passwd, /etc/shadow, /etc/group, /etc/gshadow 
> and rsync the /home directory and any directories containing 
> web or ftp sites.  

Hello,

The new server is in and I am about to attempt the file transfers.  I have
NEVER attempted this and want to do it right the first time.

Reading the man pages for cp and scp it looks as if the -a switches are
different.  Are they?  I want/am going to transfer files/directories across
the local network.  Should I work from the new machine or the old?  What
files are machine dependent?  In other words, what files, if any, should not
be copied because of hardware differences?

Sorry for all the seemingly stupid questions but as I said, I have never
undertaken this before.

TIA



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux