LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-22-2005, 09:01 PM   #1
wengthai
LQ Newbie
 
Registered: Jan 2005
Distribution: RedHat, Modphix
Posts: 2

Rep: Reputation: 0
Unhappy 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!!!!!!!!!!!!!!!!
 
Old 06-29-2005, 10:18 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Ownership issues? After copying the data over, do the users share the same uid?
 
Old 12-02-2005, 08:01 AM   #3
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Copy
/etc/passwd
/etc/passwd-
/etc/group
/etc/group-
/etc/samba/smb.conf
/etc/samba/smbpasswd
/etc/samba/smbusers
/etc/samba/secrets.tdb
/etc/shadow
/etc/shadow-

Use rsync for complete backup & use -o - p -g -t options for preserving ownership, permission, groups & times.

I did the very same but for not complete migration.. i migrated my samba server.
So for this i followed this very same procedure... It was as easy as it comes.

Even if you donot follow this procedure, set uid & gid same as they were on other machine.

..amit..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Server Migration(CaSe SeNsItIvTy) dj_dubbbz Linux - Software 0 10-28-2005 02:32 PM
server migration jdblueaudis4 Linux - Software 1 08-30-2005 12:47 PM
Server migration on redhat linux 9 wengthai Linux - Security 2 02-23-2005 09:55 AM
Server Migration seanfitz Linux - Networking 8 10-07-2004 06:13 PM
Windows XP and Redhat. Migration graffitici Linux - Software 13 01-06-2004 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration