reencrypt_linux_post_install
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| reencrypt_linux_post_install [2026/06/19 09:24] – usera | reencrypt_linux_post_install [2026/06/19 09:25] (current) – usera | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| Please follow the procedures listed [[backup|here]] to do a backup of your disk image with Clonezilla and a second backup of all your non program files with restic. | Please follow the procedures listed [[backup|here]] to do a backup of your disk image with Clonezilla and a second backup of all your non program files with restic. | ||
| - | ==== STEP 1.3: do the actual backup ==== | ||
| - | |||
| - | you can then follow the [[https:// | ||
| - | |||
| - | Once this is done, you can do another backup of your /home, which contains all your regular files. For this you can use the software backintime. You can install it with: | ||
| - | < | ||
| - | sudo apt install backintime-qt | ||
| - | </ | ||
| - | |||
| - | Before launching it, we need to decrypt the encrypted disk, and mount the logical volume we intend to use: | ||
| - | < | ||
| - | sudo cryptsetup luksOpen /dev/sdb2 cryptsetup | ||
| - | sudo vgchange -ay | ||
| - | sudo mount / | ||
| - | </ | ||
| - | |||
| - | now everything written on /mnt on your computer will be written on your disk. | ||
| - | |||
| - | You can then launch backintime with: | ||
| - | < | ||
| - | sudo backintime-qt | ||
| - | </ | ||
| - | |||
| - | you can then configure it to save things in /mnt: | ||
| - | |||
| - | {{ :: | ||
| - | |||
| - | |||
| - | {{ :: | ||
| - | |||
| - | |||
| - | {{ :: | ||
| - | |||
| - | And then click on "Take snapshot" | ||
| - | |||
| - | {{ :: | ||
| - | |||
| - | you can then unmount and remove your backup disk: | ||
| - | |||
| - | < | ||
| - | sudo umount /mnt | ||
| - | sudo vgchange -an vgbackup | ||
| - | sudo cryptsetup luksClose cryptodisk | ||
| - | </ | ||
| ===== STEP 2: Setup your partitioning ===== | ===== STEP 2: Setup your partitioning ===== | ||
reencrypt_linux_post_install.txt · Last modified: by usera
