LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-12-2012, 11:55 PM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 98

Rep: Reputation: 6
Exclamation How to clone existing settings to the new RH installation?


Hello! I have installed and setted up RHES 6.2. So, I need to install the new one server and copy all existing settings from old to new one. I mean network settings, user accounts, mount points (HW is the same). Is any way to do it easy or I need to copy every file by hand?
 
Old 02-13-2012, 02:23 AM   #2
War3zWad|0
Member
 
Registered: Sep 2011
Location: Houston, TX
Distribution: openSuSE, Fedora, CentOS, Debian,, and others
Posts: 84

Rep: Reputation: Disabled
Quote:
Originally Posted by sluge View Post
Hello! I have installed and setted up RHES 6.2. So, I need to install the new one server and copy all existing settings from old to new one. I mean network settings, user accounts, mount points (HW is the same). Is any way to do it easy or I need to copy every file by hand?
The first thing to do is create a kickstart file for the new install. This can be done by copying the kickstart file on the current server.
Code:
 /root/anaconda-ks.cfg

Set the initial root password, based on a previously derived encrypted password

rootpw --iscrypted XaacoeGPmf/A <-- replace with your root hash from /etc/shadow
Then install using that kickstart file. Once the installation is done then you can rsync the old server to the new server. From the new server(in the %post% section of your kickstart file) add an rsync command to get all the files over.
Code:
rsync -avPz root@oldserver:/ /
That should copy all of the contents from the old server to the new server.

Then once it is done you will need to restart the machine just to make sure everything copied over correctly.
 
Old 02-16-2012, 09:35 PM   #3
rosarion
LQ Newbie
 
Registered: Feb 2012
Location: Makati Philippines
Posts: 5

Rep: Reputation: Disabled
Thumbs up g4u - Harddisk Image Cloning for PCs

I have done this before, you can try g4u - Harddisk Image Cloning for PCs.
http://www.feyrer.de/g4u/


GOOD LUCK
 
  


Reply

Tags
cloning, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Jolicloud installation seems to have wiped out existing Ubuntu installation gargleblaster Linux - Software 1 12-11-2009 07:57 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM
HALd installation problem - 'clone' function? Johncc330 Linux - Software 2 05-27-2008 11:30 PM
clone an installation sulekha Ubuntu 2 10-02-2007 05:31 AM
how to clone an installation cestor Linux - General 3 03-18-2002 09:24 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration