User Tools

Site Tools


reencrypt_linux_post_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
reencrypt_linux_post_install [2026/06/19 09:24] userareencrypt_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://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/01_Save_disk_image|clonezilla guide]] to backup your whole image to an encrypted image stored in your unencrypted partition. Do not forget to tick the "encrypt your image" option, and secure it with a strong passphrase that you will remember. 
- 
-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: 
-<code> 
-sudo apt install backintime-qt 
-</code> 
- 
-Before launching it, we need to decrypt the encrypted disk, and mount the logical volume we intend to use: 
-<code> 
-sudo cryptsetup luksOpen /dev/sdb2 cryptsetup 
-sudo vgchange -ay 
-sudo mount /dev/mapper/vgbackup-home /mnt 
-</code> 
- 
-now everything written on /mnt on your computer will be written on your disk. 
- 
-You can then launch backintime with: 
-<code> 
-sudo backintime-qt 
-</code> 
- 
-you can then configure it to save things in /mnt: 
- 
-{{ ::backintime_1.png?600 |}} 
- 
- 
-{{ ::backintime_2.png?600 |}} 
- 
- 
-{{ ::backintime_3.png?600 |}} 
- 
-And then click on "Take snapshot" and wait for it to finish: 
- 
-{{ ::backintime_4.png?600 |}} 
- 
-you can then unmount and remove your backup disk: 
- 
-<code> 
-sudo umount /mnt 
-sudo vgchange -an vgbackup 
-sudo cryptsetup luksClose cryptodisk 
-</code> 
  
 ===== STEP 2: Setup your partitioning ===== ===== STEP 2: Setup your partitioning =====
reencrypt_linux_post_install.1781861090.txt.gz · Last modified: by usera