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 lnthai2002@xxxxxxx
> Sent: Sunday, March 05, 2006 9:52 AM
> To: centos@xxxxxxxxxx
> Subject: Re:  Moving files to new server
> 
> 
> 
> -----Original Message-----
> From: Thomas E Dukes <edukes@xxxxxxxxxx>
> To: CentOS <centos@xxxxxxxxxx>
> Sent: Sun, 5 Mar 2006 09:34:37 -0500
> Subject:  Moving files to new server
> 
>   Hello,
> 
> I am getting a new computer and am going to need to move the 
> files from the old to the new.  What is the best way to do this?
> 
> Should I install CentOS from scratch on the new computer then 
> move the directories I need?  How do I maintain permissions 
> if this is the best way?
> 
> --------------------------------------------------------------
> -----------
> -----------------
> If you install centos on the new comp, create users on the 
> new comp with the same user name and user ID as on the old 
> one(you can refer to /etc/passwd for UID).
> Plug the HDD of the new comp to the old linux machine Create 
> a folder, say "NewHDD" in /mnt Mount the new HDD partition 
> (where you want your data to be copied to) to /mnt/NewHDD Use 
> the cp command as root with --preserve[=ATTR_LIST] option to 
> copy the files from their old(old HDD) location to new 
> location(on the new HDD). Refer to man cp for more info about 
> cp options.
> Hope it help
> Thai

Thanks for your reply.  

I can see that this is not going to be easy any way I do it.  I was also
thinking of backing up the old system, install a fresh CentOS on the new,
then do a restore on it.  Would that work?  I just want to make sure I have
everthing on the new as the old.

Thanks



[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