LinuxQuestions.org
Visit Jeremy's Blog.
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-20-2003, 11:33 PM   #1
oaaltone
LQ Newbie
 
Registered: Nov 2002
Location: Amherst, MA
Distribution: Red Hat Enterprise Linux 3
Posts: 12

Rep: Reputation: 0
Questions about migrating a server...


I currently have a slow old Celery 400Mhz running Redhat 8.0 as my "everything" server (email, web, ftp, etc...). I just purchased a new server (Xeon, 2x 73GB 10K RPM Ultra320 SCSI drives, DDR RAM, gigabit ethernet... etc...) and would like to put Redhat 8.0 on that as well, and move the data over ASAP, so I can get rid of the crappy old server.

How would I go about making a "mirror" of the old server onto the new server?
 
Old 02-21-2003, 12:14 AM   #2
rockdw
Member
 
Registered: Nov 2002
Location: Chicago, IL
Distribution: Rasbian, Debian, Gentoo, RHEL
Posts: 65

Rep: Reputation: 21
in /root you will find anaconda-ks.cfg and install.log which will show you how the original box was built. As for the data, it really depends on what you need to bring over. If you can isolate which directories have your data, you can tar them and copy them to the new machine. For example:

tar zcvf ftp.tgz /var/ftp
tar zcvf home.tgz /home
etc...

ftp the tgz files, or scp, or whatever to the new box and untar them in their new home:

tar zxvf ftp.tgz
etc...

I would also grab the /etc directory, since that is where 98% of your config files would be.
 
Old 02-21-2003, 12:17 AM   #3
oaaltone
LQ Newbie
 
Registered: Nov 2002
Location: Amherst, MA
Distribution: Red Hat Enterprise Linux 3
Posts: 12

Original Poster
Rep: Reputation: 0
Sounds good! I'll try this as soon as I get the new server.

So basically I'm copying all of the data and config files, so when the files are copied over, all the servers will be configured already?

I think I'll plan on making tarballs of /var, /etc, and /home. That seems like it'll move over most of the important stuff.

Sorry if the questions are a little noobish. I've used Linux "passively" for years and years, but haven't had the time until recently to really start learning the OS.

Last edited by oaaltone; 02-21-2003 at 12:18 AM.
 
  


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
migrating win2lin server guide titanium_geek Linux - Networking 5 07-27-2005 04:32 PM
Migrating from a Windows Application Server phonecian Linux - General 7 04-07-2005 11:11 PM
Migrating CVS to another Server? g!nux-one Linux - Software 1 01-21-2004 04:59 PM
Migrating from RH , and some little questions Sylhouette Debian 3 12-03-2003 01:36 PM
Migrating NT Server to Linux cloro_x Linux - Networking 4 08-30-2003 04:30 AM

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

All times are GMT -5. The time now is 04:00 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