Can you create a file container/volume in LUKS in the same way that you could do with Truecrypt? Otherwise, how can you backup a LUKS partition? Do you have to clone it, for example with dd? or backup each file inside the partition into another encrypted partition? Is there any way of treating the output of luks as a file, for backup purposes?

  • What do you mean by “the same way that you could do with Truecrypt”? I guess you mean “the same way I do with TrueCrypt”, because there are many different ways this can work with TC (and it depends on whether you use a container or full-disk encryption, as well as the OS you're using TC on). – Gilles 'SO- stop being evil' Jun 21 '14 at 9:53

You can back it up any way you like. Using dd for backup works of course, but it kind of stinks (regardless of encryption). File based backups are more powerful since it lets you select what to backup, and whether to compress or do it incrementally.

You can LUKS with files, cryptsetup luksOpen somefile automatically creates a loop device for you in that case.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.