mainstoreBackup - Support: sr #108967, Encrypted Home Directory (ecryptfs)


sr #108967: Encrypted Home Directory (ecryptfs)

Submitter:  None
Submitted:  Sun 07 Feb 2016 11:38:43 AM UTC
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup

Sat 13 Feb 2016 09:46:26 PM UTC, comment #2: 


Thanks a lot for your Reply. I figured out, the most senseful way of doing this backup is, to mount all ecryptfs directorys and backup the unencrypted files.

Thanks again,

Tue 09 Feb 2016 09:26:29 PM UTC, comment #1: 

Hi Samuel,

first of all, I've to tell you that I do not use ecryptfs so I cannot give you specific hints. (I'm using dm-crypt and LUKS for encryption.)

At this place:

I found about ecryptfs):

"Cannot keep all filesystem metadata confidential. Since stacked filesystems encrypt on a per-file basis, attackers will know the approximate file sizes, for instance."

If this is true for ecryptfs, then there's no reason to use the block* stuff because everything is stored on a per-file basis. You might want to tell storeBackup not to compress the encrypted files (because that's not possible at all).

Why do you want to use chekcBlocksSuffix? (Or am I wrong with my interpretation of the comparison above?)

Regards, Heinz-Josef

Heinz-Josef Claes <hjclaes>
Group administrator
Sun 07 Feb 2016 11:38:43 AM UTC, original submission:  


I have a question, regarding encrypted home directories in Ubuntu.
I'd like to backup my home directory (which is decrypted as the backup runs) and the home directories of other users as well (which are encrypted).
Is there a preferable way to do this, something special I might want to add to checkBlocksSuffix?

It seems like the encrypted data is stored in /home/.ecryptfs, but I can see only the data of my user there.

Thanks a lot and best wishes.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by hjclaes (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-7c56.
    Corresponding source code