====== Verschlüsselte Backups auf USB-Stick ====== Blockdevices anzeigen: lsblk Partition erstellen: (( siehe [[Partitionierung]] )) fdisk /dev/sdb … Verschlüsselung aktivieren: ((siehe [[lpi2:cryptsetup-luks]])) cryptsetup --verbose luksFormat --type luks2 /dev/sdb1 verschlüsselte Partition öffnen/entsperren: cryptsetup open --type luks2 --allow-discards /dev/sdb1 my_bak_crypt Dateisystem anlegen: mkfs.ext4 -L my_bak_crypt /dev/mapper/my_bak_crypt