I need to make a backup of a partition which I usually do with:
dd if=/dev/sda1 of=/mnt/secret/sda1_back.img
The point is secret is a LUKS/dm-crypt block level encrypted device, is dd gonna mess with the encryption since it works so low, or is it gonna work fine since dd goes into a file?
I think I need to clarify me question: sda1 is not encrypted. I need to make a backup asap since sda is giving me I/O Errors. On /mnt/secret I have got a LUKS/dm-crypt encrypted device mounted, it's actually for other things but, it's the only place I have enough free space to for the backup. My question is: after the above command, will i be able to read the .img file normally after I unlocked the LUKS container and mounted it? Or will it fuck up the LUKS container?