description: A detailed exaplanation of my backup system which is both encrypted and unencrypted for different purposes.
---
@ -95,7 +95,8 @@ I also keep two different types of incremental backups. It's not exactly the *3
4. Partition and format the encrypted backups as written in the [Arch Wiki page](https://wiki.archlinux.org/index.php?title=Dm-crypt/Device_encryption&oldid=557648#Encryption_options_with_dm-crypt).
We will use some non-default options to make the encryption stronger
[mount and create a filesystem on the encrypted partitions](https://wiki.archlinux.org/index.php?title=Dm-crypt/Encrypting_a_non-root_file_system&oldid=495610#Manual_mounting_and_unmounting).
@ -109,7 +110,7 @@ I also keep two different types of incremental backups. It's not exactly the *3
6. Unmount
# umount /mnt/backup_{root,data}_enc
# cryptsetup close /dev/mapper/{root,data}_enc
# cryptsetup close {root,data}_enc
7. [Backup the LUKS headers](https://wiki.archlinux.org/index.php?title=Dm-crypt/Device_encryption&oldid=557648#Backup_using_cryptsetup)
of the encrypted drives in case they need to be recovered in the future.