Re: [Clonezilla-live] LUKS/LVM2 image backup without partclone.dd
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: Steven S. <st...@na...> - 2022-05-11 12:12:35
|
On 5/11/22 15:19, l0f4r0--- via Clonezilla-live wrote: > Steven, > > 10 mai 2022, 09:09 de clo...@li...: > >> Next test, I will try to clone nvme0n1p5 only (saveparts) and see if clonezilla detects LUKS, the LV and so on... >> > I did the test and clonezilla detected LUKS and all my LV. > Result is similar than whole disk nvme0n1 except it didn't clone nvme0n1p1/2/3/4 of course. > It isn't what I'm looking for though... > > Of course, I could save all my LV and then delete the ones I don't want (here myLvmHome and myLvmRoot) but it's really not optimized (more time-consuming and more temporary space needed on backup drive). > > It could be really great if clonezilla can clone specific LVs only. > > If this is already the case, please tell me what I missed because nowhere I can choose LV (only disks or classic parts under the ncurse interface) and if I force my LV name under the shell then the whole LVM is shutdown just before and my LV not recognized hence. Clonezilla actually does not support choosing LV only. No matter it's on a unencrypted partition or on LUKS partition. Hence so far you can only choose the partition which contains LV to save the image. > >> NB: is there a way to ask clonezilla to save a full log or am I supposed to pipe its output to `tee`? >> > `clonezilla | tee` doesn't work (probably because of the ncurse interface). > However, I've noticed that clonezilla log (more exactly: ocs-sr log) is saved under /var/log/clonezilla.log. Good. > > Suggestion: I think there is a message at the very end of ocs-sr saying that log is saved there. But it disappears very quickly. Maybe you could add a stop after this message (like "press Enter to continue...")? Will think about this. Steven > > Best regards, > l0f4r0 > > > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://mg2.narl.org.tw/mg-cgi/mg_redirect?dmn=nchc.narl.org.tw&mid=627B640E.00058D15&mtime=1652253710&url=https%3A%2F%2Flists%2Esourceforge%2Enet%2Flists%2Flistinfo%2Fclonezilla%2Dlive -- Steven Shiau <steven _at_ stevenshiau org> Public Key Server PGP Key ID: 4096R/163E3FB0 Fingerprint: EB1D D5BF 6F88 820B BCF5 356C 8E94 C9CD 163E 3FB0 |