LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-27-2006, 11:07 AM   #1
Turner
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0
Question Partition and Backup Woes (Machine Transfer)


Hey all,

Ok, here's the situation:

Box 1: Running Redhat, as a java app server. IDE hard drive, various partitions. Kernel is 2.4.2x.

Box 2: Shiny and new box. SATA hard drives with all the trimmings.

I need to get everything on the first box over to the second box. I don't care about partition sizes or time/date stamps, but everything needs to be preserved. Essentially I need to get box 1 running on box 2.

Backups and restores are not my strong point. I'm *fairly* good with linux (ie: I know basics, and at least know how to research and adaptively follow directions)

I don't think I can do a block transfer due to different hd types/sizes. Is there any way to pull this off? DD? PartImage? Prayer? Ritual sacrifice?

I need a plan of attack, or at least a theory of how to approach this.


Any help appreciated.
 
Old 06-27-2006, 12:45 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Ignoring issues like getting the new system to boot, a simple way to duplicate a system through a LAN is by using rsync.

There are lots of ways to do it, but a simple one is to (1) boot both systems using the latest Knoppix CD, (2) mount the old filesystems, (3) mount the new filesystems, (4) start ssh on both ends, (5) change the receiving end Knoppix root password (i.e., so that you know what it is) and (6) start the rsync transfer. Obviously, you need to manually set up/format the filesystems on the receiving end beforehand.

Code:
 rsync -aH --delete --exclude 'lost+found/' /mnt/oldsystem.../ ip_address:/mnt/newsystem...
It would be a good idea to build initrd images for the new system before you do the transfer, but you can always do that from rescue mode after the transfer.

Last edited by WhatsHisName; 06-29-2006 at 12:35 PM. Reason: Changed “/mnt/oldsystem...” to “/mnt/oldsystem.../” for clarity
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Transfer From Redhat Linux Partition to Fat32 Partition saraturtle Linux - General 20 04-04-2007 05:20 PM
crosslink from suse 10.0 to 10.1 machine - how to transfer data!? ungua SUSE / openSUSE 8 06-13-2006 06:17 AM
How to Transfer files between Linux machine and Window Machine rktech83 Linux - Networking 7 03-14-2006 03:10 AM
Data transfer from one Linux machine to another with FTP or scp faucon Linux - Newbie 6 09-10-2003 01:37 PM
Data Transfer Woes Evilone Linux - Networking 5 07-11-2003 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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