How to safely back up the "Private" folder?

Posted by ImaginaryRobots on Ask Ubuntu See other posts from Ask Ubuntu or by ImaginaryRobots
Published on 2012-08-15T19:52:15Z Indexed on 2012/08/29 15:50 UTC
Read the original article Hit count: 231

Filed under:
|

I have an ecryptfs "Private" folder in my home directory, and it is set up to automatically mount whenever I log in. I want to set up automatic backups to a network drive, but I don't want the contents of Private to be readable on the remote server. My understanding is that the Ubuntu "Backup" utility would run while I'm logged in, so it would see the folder contents without encryption. I'm backing up from a laptop, so it is essentially only on when I am logged in.

I know that the Private folder is essentially a mounted filesystem, so it seems like I should be able to backup the encrypted image rather than the cleartext contents.

What steps are needed to safely back it up, while maintaining the encryption? Note that I'm already familiar with the backup tools available, this question is about dealing with the ecryptfs folder safely.

© Ask Ubuntu or respective owner

Related posts about backup

Related posts about ecryptfs