LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Server migration on redhat linux 9 (https://www.linuxquestions.org/questions/linux-security-4/server-migration-on-redhat-linux-9-a-293654/)

wengthai 02-22-2005 09:02 PM

Server migration on redhat linux 9
 
Hi all,

Is anyone have successfully done server migration on Redhat linux?

Having difficulty on migrate user email (/var/spool/mail) & home directory (/home) between two redhat linux 9 machine.

The old machine with clone hardware where new machine with IBM xSeries 206. Both having same services but while migrate the users mailbox....i having ownership issues....the ownership cannot be preserved.

have tried many method like ftp, samba, rcp, scp but all seems can't work. Try on use "tar" command also but same issues still occurred.

Urgently need a solution!!!!!

Thanks!!!!!!!!!!!!!!!!

TruckStuff 02-23-2005 08:58 AM

What type of ownership issues are you having? If you use something like rsync or tar, the uid/gid of the files should be preserved from teh old system when you unpack them on the new system.

pk21 02-23-2005 09:55 AM

just use tar -czvf to make a copy of the files and put them on your second server. Then copy /etc/passwd /etc/shadow and /etc/group to the second server and it should work all fine.


All times are GMT -5. The time now is 04:47 AM.