Clonezilla is a suite of open-source, disk cloning programs used for bare metal backup Fand recovery and also used during system deployment. Clonezilla server edition uses multicast technologies to deploy a single image file to a group of computers in a local area network.
In this tutorial guide, we are going to explore how to install and use Clonezilla on Ubuntu 21.10.
Types of Clonezilla
- Clonezilla live. This is suitable for single machine backup and restore. It allows you to use the CD/DVD or USB flash drive to boot and run clonezilla
- Clonezilla lite server. Suitable for massive deployments. Ity allows you to use clonezilla live to do massive clonnning.
- Clonezilla SE (server edition). Suitable for massive deployments
Clonezilla only saves and restores only used blocks in the hard disk, therefore, increasing the clone efficiency.
Features of Clonezilla
- It supports many File sytems such as ext2, ext3, eiserfs, reiser4, xfs, jfs, btrfs, f2fs etc
- It support both MBR and GPT partion formats of hard drive are supported.
- One image restoring to multiple local devices are supported
- Images are encrypted in the process
- AES-256 encryption is used to secure data access, storage and transfer
- Multicast is supported on Clonzilla SE which is suitable for massive clone.
Prerequisites
- X86 or X86-X64 processor
- 256 MB of RAM
- Boot devices
- Ubuntu 21.10 server
Install Clonezilla on Ubuntu 21.10
1. Update system repositories
The first thing to do on any new system is to update its repositories in order to make them up to date.
$ sudo apt update && apt upgrade -y
2. Install Clonezilla on Ubuntu 21.10
After updates and upgrades are complete, we can now run the installation program with the following command on your terminal. The program will install all the dependencies as needed by Clonezilla.
$ sudo apt install clonezilla -y
You will see the following as the output.
The following additional packages will be installed:
dialog drbl ipcalc mtools nilfs-tools partclone partimage pigz syslinux syslinux-common wakeonlan
Suggested packages:
cifs-utils udpcast sshfs floppyd
The following NEW packages will be installed:
clonezilla dialog drbl ipcalc mtools nilfs-tools partclone partimage pigz syslinux syslinux-common wakeonlan
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 4777 kB of archives.
After this operation, 18.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Press y to allow installation to continue.
To start using Clonezilla, type Clonezilla on your command line
$ clonezilla
You will get the following image;
3. Using Clonezilla
Once you have a Clonezilla bootable device, you can then boot the media to the machine you want. Use the Clonezilla media such as CD, USB flash drive etc.
Conclusion
We have successfully installed Clonezilla on Ubuntu 21.10. If you experience any difficulty, consult Clonzilla documentation.
Check this article if you want to use Ubuntu 20.04