Disk cloning is the process of copying data from a hard disk to another one, in fact, you can do this process by copy & paste but you won’t be able to copy the hidden files and folders or the in-use files, that’s why you need a cloning software to do the job, also you may need the cloning process to save a backup image from your files and folders.
Basically, the cloning software job is to take all disk data, convert them into a single .img file and give it to you, so you can copy it to another hard drive, and here we have the best 7 Open Source Cloning software to do the job for you.
Clonezilla is a Live CD based on Ubuntu & Debian to clone all your hard drive data or to take a backup, licensed under GPL 3, it is similar to Norton Ghost on Windows but more effective.
- Many filesystems Support like ext2, ext3, ext4, btrfs, xfs, and many other filesystems.
- Support for BIOS and UEFI.
- Support for MPR and GPT partitions.
- Ability to reinstall grub 1 and 2 on any attached hard drive.
- Works on weak computers ( 200 MB of RAM is needed only).
- Many other features.
Minimum System Requirements for Clonezilla live:
- X86 or x86-64 processor
- 196 MB of system memory (RAM)
- Boot device, e.g. CD/DVD Drive, USB port, PXE, or hard drive
- The destination partition must be equal or larger than the source one.
- Differential/incremental backup is not implemented yet.
- Online imaging/cloning is not implemented yet. The partition to be imaged or cloned has to be unmounted.
- Due to the image format limitation, the image can not be explored or mounted. You can _NOT_ recovery single file from the image. However, you still have workaround to make it.
- Recovery Clonezilla live with multiple CDs or DVDs is not implemented yet. Now all the files have to be in one CD or DVD if you choose to create the recovery iso file.
GParted is an industrial-strength package for creating, destroying, resizing, moving, checking and copying partitions, and the filesystems on them. This is useful for creating space for new operating systems, reorganizing disk usage, copying data residing on hard disks and mirroring one partition with another (disk imaging).
It uses libparted to detect and manipulate devices and partition tables while several (optional) filesystem tools provide support for filesystems not included in libparted.
There are also Live CD and Live USB versions available, based on Gentoo Catalyst and built on the latest 2.6 Linux kernel. GParted is also available on other Linux live CDs, including recent versions of Knoppix.
- Create partition tables.
- Support for the following filesystems: btrfs, ext2, ext3, ext4, FAT16, FAT32, HFS, HFS+, JFS, Linux-swap, NTFS, Reiserfs, Reister4, UFS, and
- Growing, shrinking, moving and copying partitions.
- Enable and disable partition flags (e.g., boot, hidden).
- Can be used with storage devices other than hard disks such as USB flash drives, and memory cards.
- Align partitions to mebibyte (MiB) or cylinder boundaries.
- Attempt data rescue from lost partitions.
- Supports hardware RAID, motherboard BIOS RAID, and Linux software RAID.
- Supports all sector sizes (e.g., 512, 1024, 2048, 4096 byte sectors).
3. Mondo Rescue
This tool backs up your Linux server or workstation to tape, CD-R, CD-RW, NFS or hard disk partition. In the event of catastrophic data loss, you will be able to restore all of your data [or as much as you want, from bare metal if necessary. Mondo is in use by numerous blue-chip enterprises and large organizations, dozens of smaller companies, and tens of thousands of users.
Mondo is comprehensive. Mondo supports LVM, RAID, ext2, ext3, JFS, XFS, ReiserFS, VFAT, and can support additional file systems easily. It supports adjustments in disk geometry, including migration from non-RAID to RAID. Mondo runs on all major Linux distributions and is getting better all the time. You can even use it to backup non-Linux partitions, such as NTFS.
Unlike other cloning software, Mondo Rescue doesn’t convert your hard drivers into an .img file, but it will convert them into an .iso image, you can also create a custom Live CD with Mondo using “mindi” which is a special tool developed by Mondo Rescue to clone your data from the Live CD.
It supports most Linux distributions, it also supports FreeBSD, and it is licensed under GPL, You can install Mondo Rescue by using the following link.
Partimage is an open-source software backup, by default it works under Linux system and available to install from the package manager for most Linux distributions, if you don’t have a Linux system installed by default you can use “SystemRescueCd” which is a Live CD that include Partimage by default to do the cloning process that you want.
Partimage is very fast in cloning hard drivers, but the problem is that it doesn’t support ext4 or btrfs partitions, although that you can use it to clone other filesystems like ext3 and NTFS.
FSArchiver is a continuation of Partimage, also a good tool to clone hard disks, it supports cloning Ext4 partitions and NTFS partitions, here’s a list of features:
- Support for basic file attributes like owner, permissions, etc.
- Support for extended attributes like those used by SELinux.
- Support the basic filesystem attributes (label, UUID, blocksize) for all Linux filesystems.
- Support for NTFS partitions of Windows and Ext of Linux and UnixLike.
- Support for checksums which enables you to check for data corruption.
- Ability to restore corrupted archives by just skipping the corrupted file.
- Ability to have more than one filesystem in an archive.
- Ability to compress the archive in many formats like lzo, gzip, bzip2, lzma/xz.
- Ability to split big files in size to a smaller one.
You can download FSArchiver and install it on your system, or you can download SystemRescueCD which also contains FSArchiver.
Partclone is a program similar to the well-known backup utility “Partition Image” a.k.a partimage. Partclone provides utilities to save and restore used blocks on a partition and is designed for higher compatibility of the file system by using existing libraries, e.g. e2fslibs is used to read and write the ext2 partition.
Partclone is a free tool to clone & restore partitions, written in C in first appeared in 2007, it supports many filesystems like ext2, ext3, ext4, xfs, nfs, reiserfs, reiser4, hfs+, btrfs and it is very simple to use.
Licensed under GPL, it is available as a tool in Clonezilla as well, you can download it as a package.
G4L is a free Live CD system to clone hard disk easily, it’s the main feature is that you can compress the filesystem, send it via FTP or CIFS or SSHFS or NFS to any location you want, it also supports GPT partitions since version 0.41, it is licensed under BSD license and available to download for free.
- Clone one hard drive or partition to another.
- Create an image file of one hard drive or partition and save to another.
- Create an image file of one hard drive or partition and save it over a network to an FTP server.
- Uses bit-for-bit cloning.
- Cifs (Windows) on local menu, and MBR and EBR backup.
- Does not have an X11 graphical user interface. This makes it more universally compatible, and much faster on older systems.
doClone is also a free software project that is developed to clone Linux system partitions easily, written in C++, it supports up to 12 different filesystems, it can perform Grub bootloader restoration and can transform the clone image to other computers via LAN, it also supports live cloning which means that you can create a clone from the system even when it is up and running, doClone.