os image in linux

how can i take an image of a production server os image to another server.

i have a prod server with oel 5.5 and need to take the replica copy in a test server without installing os in test server , is there a way to achieve this
kurajeshSenior Systems AnalystAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

man cpio
man dd
Jayachandran PalanisamyTechnical Consultant - LinuxCommented:

I have listed some tools which will help you to take OS image backup and restore.

Partition Image (http://www.partimage.org/)
Available for: windows mac linux unix java
Partition Image is an open source disk cloner. It will create a complete image of the partitions you wish to backup that can be spilt into multiple files for storing on removable media - or copied...

FOG (http://www.fogproject.org/)
Available for: windows linux
FOG is an imaging solution for Vista and Windows XP that makes use of some open-source tools and a PHP based web interface. It is unique in that it requires no boot disks or CDs, using TFTP and PXE..

Available for: windows mac linux unix java
Clonezilla is an open source solution to computer backup, restoration and "ghosting". It is based on partition imaging and allows you to backup and recover your system should it be taken out by a..

Have a look into this tool too.

Also check this URL.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
What is the hardware like?
Are the two servers identical? Do you have hardware raid? I.e remove the member raid1 disk and insert it into the test server, while inserting a replacement drive in production (system should be off during removal even for hot plug drives)
Is virtualization a consideration rather than to a physical server? P2v from VMware.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

madunix (Fadi SODAH)Commented:
I use multiple tools to image linux system only (my best one is mondo) ,

1- use Mondo Rescue to clone linux systems:

2- You can use dd also. dd if=/dev/somedisk of=/dev/somedestination

3- rsync scripting

4- netcat
On the source server: (cd / && tar -cvf - ) | nc 2000
On the destination:: nc -l -p 2000 | tar -xvf -

5- http://sourceforge.net/projects/g4l/

mondo its only for linux distro, in order to image your system and create bootable CD/DVD download mondo for your distro
ftp://ftp.mondorescue.org more info read this manual
assuming that kurajesh meant a real (binary) image, then tar, rsync (and probably Acronis and Clonezilla too) are the wrong tools, as they make "copies" of the data in the filesystem
FOG (http://www.fogproject.org/)
Available for: windows linux
FOG is an imaging solution for Vista and Windows XP that makes use of some open-source tools and a PHP based web interface. It is unique in that it requires no boot disks or CDs, using TFTP and PXE..

IS BEST !!!!! USE IT !!!!!
madunix (Fadi SODAH)Commented:
As said, Linux covers the basics of using dd to clone an entire disk or partition. You can also use tar, dump, or cpio to backup an existing system and restore it to another system. There are a good number of guides published on the net that can guide you through the tar/dump/cpio backup and restore process.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.