On 2020-09-12 12:14, Charles Curley wrote:
On Sat, 12 Sep 2020 12:10:48 -0400
rhkra...@gmail.com wrote:

I'm thinking about putting my backup encrypted files in a LUKS
filesystem within a file instead of on a dedicated partition (for a
few reasons).

Why do you want a file system inside a file? The only reason I can
think of to do that is to emulate the file system of another computer,
e.g. a virtual machine.

There are many use-cases. In the context of rsync(1) backups, each file contains one backup filesystem. If you have seven such files, you can rotate them daily and one complete backup for each day of the week. If you set the backup image file permissions correctly, you can easily view and/or move those files using standard tools. But, one challenge is finding the "right" file size. Some people use LVM inside the files to provide additional flexibility.


David

Reply via email to