Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #223164

Encrypted image Debian system backup with Clonezilla in a LUKS/LVM2 environment

From l0f4r0@tuta.io
Newsgroups linux.debian.user
Subject Encrypted image Debian system backup with Clonezilla in a LUKS/LVM2 environment
Date 2020-06-07 15:50 +0200
Message-ID <Af3Qu-96-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I run Debian 10 (UEFI with Secure Boot) on multiple LVM2 partitions inside LUKS as follows:

NAME                                              FSTYPE               LABEL              MOUNTPOINT   SIZE
nvme0n1                                                                                                                   477G
├─nvme0n1p1                                 vfat                    SYSTEM            /boot/efi          477M
├─nvme0n1p2                                                                                                           16M
├─nvme0n1p3                                 ext4                    boot                /boot               477M
├─nvme0n1p4                                 ntfs                     WinRE_DRV                            1000M
└─nvme0n1p5                                 crypto_LUKS                                                     474,8G
  └─nvme0n1p5_crypt                     LVM2_member                                                  474,8G
    ├─myLvmGroup-myLvmSwap     swap                                           [SWAP]          14,9G
    ├─myLvmGroup-myLvmVar         ext4                    var                  /var                18,6G
    ├─myLvmGroup-myLvmRoot       ext4                    root                 /                     74,5G
    └─myLvmGroup-myLvmHome     ext4                    home              /home            326G

I'm already backing up my personal data/documents (/home) via BorgBackup.
I would like now to backup my GNU/Linux SYSTEM (only) with Clonezilla and store the backup as an encrypted and compressed image on an external drive.

Do you use Clonezilla with such a similar setup?
How do you deal with LVM/LUKS please?
I asked on Clonezilla-Live mailing list but one suggested me to backup everything and choose later what I want to restore. I'm not really interested in that method because it's not optimized as I don't want to backup my /home twice (BorgBackup+Clonezilla) which is my largest partition...

Do I just need to follow this method https://gist.github.com/andyrbell/4a339c0d8a3bc9465743a6b876671dcb and iterate through /var and / (+/boot and /boot/efi outside of my LUKS)?

Do I really need a LUKS on my destination external drive like it seems to be with this method? Can't I use the Clonezilla managed encryption? 

Thank you in advance for your appreciated help :)
Best regards,
l0f4r0

Back to linux.debian.user | Previous | Next | Find similar | Unroll thread


Thread

Encrypted image Debian system backup with Clonezilla in a LUKS/LVM2  environment l0f4r0@tuta.io - 2020-06-07 15:50 +0200

csiph-web