Clonezilla partition clone and backup tool
Warehouse Manager
The next screen lets you tell Clonezilla where to store the image. Also, you have the option of opening up a connection to an SSH, Samba, or NFS server (the "Networker" box tells you where to go from there). If you are backing up your home PC, you will probably want to store the image on a second disk or on a USB drive. In this case, select the first option local_dev. If you prefer to use an external USB drive or a stick, plug in the device, wait for about five seconds for Linux to detect it, and then press Enter. Clonezilla then searches all the storage media it can find, and you can select the partition on which you will be storing the image. Make sure you don't select the partition you want to back up!
Networker
If you would like to store the image on a server, your own computer first needs a valid IP address. Clonezilla can either request an IP address from a DHCP server, or you can type in a static address. Alternatively, you can use PPPoE to set up a (DSL) connection.
Next you'll need to enter the domain name or IP address of the server. If this is a Samba server, Clonezilla will still prompt you for the domain. If you choose an SSH server, you will need to enter the port instead; in both cases, the defaults are typically okay. Then Clonezilla needs the name of the user authorized to access the server, followed by the full path of the subdirectory in which you will be storing the image server side. Say yes to the first screen and, if you are setting up an SSH connection, say yes again to accept the SSH key. Now type the password for the user you previously specified.
Clonezilla then mounts the selected partition in /home/partition and simply refers to the mountpoint in all other dialogs. You have no chance to check the target medium or to change it.
Your next task is to set the subdirectory in which Clonezilla will be storing the image. When you press Enter, you will be shown exactly how much free space you have on the target medium (Figure 4).
To save space, Clonezilla only saves sectors with data and additionally compresses the results. This will only work with known filesystems, such as NTFS, FAT32, or Ext3. Clonezilla will save any unknown filesystems as-is; in the worst case, the image will be exactly the same size as the original partition. This applies in particular to more recent filesystems such as Btrfs. Having more free space on your backup partition than on the original partition is a good idea. If you are sure you have enough space, press Enter to continue.
Modus Operandi
Next, set Clonezilla to Beginner mode. Except for special situations, you will not need the optional Expert mode (for example, if you need to influence how the image is created because you experience issues, or if you need to change the compression method Clonezilla uses).
The next menu gives you four options: Clonezilla can store a partition in an image file (saveparts) or vice-versa (i.e., restore a partition from an existing image, restoreparts). You can also store the whole disk in an image (savedisk) or restore a full backup (restoredisk).
To back up your system partition, select the second of these items, saveparts (as shown in Figure 5), and enter a name for the backup (this is the name for the backup, but not for the image file). You can overwrite the default values of date and hour. Clonezilla then prompts you to choose the partitions to store in the image. Press the Space key to select your backup candidates. Figure 6 simply backs up the system partition on the first hard disk (hda1).
Note that the partitions in the list must not be mounted. After confirming your choices, press Enter to run the command shown in green on your screen.
Starter's Gun
To be on the safe side, Clonezilla shows you – in bright yellow letters – which partitions it will be backing up and where (Figure 7).
Now press y to confirm these details and Clonezilla will immediately get on with its work. Depending on the size of the partition you are backing up, this can take several minutes. The line at the bottom of the screen (Figures 8 and 9) gives you a progress indicator.
Clonezilla will not write the partition to an enormous file; instead, it automatically splits the image up into chunks of 2GB each. The chunks, garnished with some additional information, are dumped into a subdirectory with the name of the backup. Incidentally, Clonezilla does not use internal tools to create the image, but will leave this task to popular command-line programs, including partclone, ntfsclone, and dd.
Once Clonezilla has created the image, it simply quits. When you press Enter, you can choose to switch off the computer, trigger a reset, change to the command line, or restart Clonezilla. To do so, press 3.
« Previous 1 2 3 Next »
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
The GNU Project Celebrates Its 40th Birthday
September 27 marks the 40th anniversary of the GNU Project, and it was celebrated with a hacker meeting in Biel/Bienne, Switzerland.
-
Linux Kernel Reducing Long-Term Support
LTS support for the Linux kernel is about to undergo some serious changes that will have a considerable impact on the future.
-
Fedora 39 Beta Now Available for Testing
For fans and users of Fedora Linux, the first beta of release 39 is now available, which is a minor upgrade but does include GNOME 45.
-
Fedora Linux 40 to Drop X11 for KDE Plasma
When Fedora 40 arrives in 2024, there will be a few big changes coming, especially for the KDE Plasma option.
-
Real-Time Ubuntu Available in AWS Marketplace
Anyone looking for a Linux distribution for real-time processing could do a whole lot worse than Real-Time Ubuntu.
-
KSMBD Finally Reaches a Stable State
For those who've been looking forward to the first release of KSMBD, after two years it's no longer considered experimental.
-
Nitrux 3.0.0 Has Been Released
The latest version of Nitrux brings plenty of innovation and fresh apps to the table.
-
Linux From Scratch 12.0 Now Available
If you're looking to roll your own Linux distribution, the latest version of Linux From Scratch is now available with plenty of updates.
-
Linux Kernel 6.5 Has Been Released
The newest Linux kernel, version 6.5, now includes initial support for two very exciting features.
-
UbuntuDDE 23.04 Now Available
A new version of the UbuntuDDE remix has finally arrived with all the updates from the Deepin desktop and everything that comes with the Ubuntu 23.04 base.