Re: [Clonezilla-live] LUKS/LVM2 image backup without partclone.dd
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: <l0...@tu...> - 2022-05-03 06:33:47
|
Hi, 29 avr. 2022, 19:32 de clo...@li...: > NB: The only thing which worked is by using partclone directly but I need then to find a suitable way to encrypt the generated file... > partclone.ext4 --clone --source /dev/mapper/myLvmGroup-myLvmVar --compresscmd 'zst -19 --threads=0' --output /home/partimg/clone_myLvmVar.img.zst --logfile /home/partimg/clone_myLvmVar.log" > With some more testing, I managed to encrypt the generated file with gpg. Full commands below: GPG_TTY=$(tty) export GPG_TTY partclone.ext4 --clone --source /dev/mapper/myLvmGroup-myLvmVar --logfile /home/partimag/partclone_myLvmVar.log | gzip -9 --stdout | gpg --symmetric --output /home/partimag/partclone_myLvmVar.img.gz.gpg This being said, my questions remain: * Is it possible to achieve the same result with a higher-level clonezilla command like ocs-sr? * Can clonezilla save logs somewhere apart from just saving the command that was used? Thanks in advance :) l0f4r0 |