Moving files to new server

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




-----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






________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and 
industry-leading spam and email virus protection.


[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