Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What tools are useful to clone a linux box into another machine ?

I have a production linux system, and i plan to upgrade the distrupution, I'm affraid that i'll end up with a broken production system, so i want to clone my production linux box into a local server, perform the upgrade and make sure that result of upgrade won't break my system. What tools i can use to clone a live system ?

user-image
Question added by Hamzeh Abu Zakham , Director of Software Development , bayt.com
Date Posted: 2013/06/11
Abdulqader Mousa Ali Badhib
by Abdulqader Mousa Ali Badhib , NExT HSE Training Services leader , Schlumberger - Saudi Arabia

If you mean clone system for your backup in case something happened during upgrade, I recommended to take backup from /etc which contain files system, if something happened for the file system you can copy back or you can use Image application like Acronis and make your full image if something happened just restore it There UNIX /Solaris command called dd it can do image for you too

Mohammad Nweider
by Mohammad Nweider , System Development Engineer , Amazon Web Services

fresh install is always better, but as Abdulqader said, you can create an image of the whole disk or partition with a tool like dd.
here's an example on how to use dd for cloning a partition: dd if=/dev/sda1 of=/mnt/sda2/sda1.img conv=sync,noerror bs=64K Note that the img should be placed on a different partition which is already mounted on your system, otherwise you will stuck in a loop!

Shady Samuel Banoub Beshay
by Shady Samuel Banoub Beshay , IT Manager , Regency Plaza Aqua Park And SPA

you can use also clone zilla for more info http://clonezilla.org/

Rajesh Pant
by Rajesh Pant , System Engineer , Tech Mahindra Limited

Any one you can choose accord your need and facility :

A.) Third Part cloning tools/ utility :

1.) Linuxghost - Mostly recommended and good for recovery.

2.) Clonezilla - Similar functionality to Symantec Ghost.

3.) PartImage - Compressed image file backup for Partition.

4.) PING (Part image Is Not Ghost) - similar functionality to Symantec Ghost.

5.) Mondo Resuce - Also good tools provides backup solution.

 

Traditional / Default & other available tools at OS level :

# dd - Disk compressed Or image backup.

# tar - Compressed backup for selected binaries (file/s & folder/s).

# Dump / restore - Provides the incremental backup solution.

# rsnapshot - Local & remote filesystem snapshot.

#rsync - Can be used to copy remote file/s.

 

Other Client / Server Solutions are :

1.) Amanda

2.) Bacula

3.) Symantec Backup Exec

Robin George
by Robin George , Senior Infrastructure Support Engineer , Cordiant Technologies

Mondo Rescue is an open source, free disaster recovery and backup utility that allows you to easily create complete system (Linux or WindowsClone/Backup ISO Images to CDDVD,TapeUSB devicesHard Disk, and NFS. And can be used to quickly restore or redeploy working image into other systems, in the event of data loss, you will be able to restore as much as entire system data from backup media.

Mondo program is available freely for download and released under GPL (GNU Public License) and has been tested on a large number of Linux distributions.

Google.
:P Seriously, I don't recommend cloning.
Just a fresh install if you have a new box.

Abu Nur Muhammad Hasanul Karim
by Abu Nur Muhammad Hasanul Karim , Manager-System Administration , Dhaka Stock Exchange Ltd.

Although  I don't recommend cloning. 

but you can use 

Acronis True Image

Always a fresh install is better. Anyhow we Have dd ,clonezilla a third party tool.We have to save the .img file into another partition safely.

Syed Javed
by Syed Javed , it consultant , Infosys

CloneZilla is good to clone a Linux system. Or use rSync to backup your data and then install afresh.

Anas Haneya
by Anas Haneya , Service Delivery Manager , General Electric - Saudi Arabia

dd linux tool

Muhammad Anzar
by Muhammad Anzar , DevOps/DevSecOps Architect , Confidential

linuxghost is best for clone the linux machine

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.