I have a Debian 12 system that I want to backup using clonezilla.
This system is using LVM and a bunch of little partitions. Some using ext4, and some in xfs.
The issue, is that, if I don't do anything special, and use exclusively the gui, clonezilla stop the lvm manager before doing a backup and switch to raw mode to save the disk.
Resulting in a quite long backup process and quite long restore process.
The image is small compared to the disk size (512GB save to a 17GB file).
Why clonezilla don't want to save each lvm partition ?
Do I have to ask clonezilla to backup each lvm partition, and use a custom restore script where I create the lvm volume myself before issuing a bunch of restore commands ?
Is there a way to make this backup more efficient ?
Best regards.
zstd -6
and do the backing up yourself.fstrim
on every mountpoint prior to backing up – zeros are much much faster to read, compress nearly instantly, and need nearly zero space in your backup file. (if you suspect you have some unused space that's not trimmed in the unallocated free space of your volume group, you can make a new volume that uses 100%FREE, and thenblkdiscard
that new volume, and then delete it.)fstrim
.