Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

If when using an encrypted home (with eCryptFs) my system has a power failure is it more likely to cause data loss than it would if it wasn't encrypted? At what extent?

What about a system freeze?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Whether or not your home folder is encrypted shouldn't affect your data loss one way or another. However, having an encrypted home directory makes it a lot harder to recover data from a Live CD. If you lose the password that you got after installing Ubuntu that allows you to unencrypt the directory, then your chances of getting data out of the folder are slim to none. So, therefore, it is good to always backup frequently. Ubuntu 11.10 comes with a nice built in backup utility, supporting backup to an Ftp server, external hard drive, Ubuntu One, etc. EcryptFs writes the data directly to disc, and there shouldn't be any data loss problems.

share|improve this answer
    
Thanks for the answer. I know that if I loose the password its "bye bye data". My question is because, at least with some encryption applications, unencrypted data is stored for some time in memory and not immediately encrypted and written to disk. So after saving a file it does not go immediately to disk. At least that's what I read somewhere (can't find the source :S). Maybe eCryptFs does not work this way? –  amfcosta Nov 15 '11 at 14:03
    
Thanks for saying Thanks. No, eCryptFs should write the data directly to disk. you shouldn't have any problems. and your risk of data loss is low. –  William Nov 15 '11 at 14:17
    
Nice :) Can you update your answer with that info so I can mark it as Answer? –  amfcosta Nov 15 '11 at 14:31
    
Sure, 1 second. –  William Nov 15 '11 at 15:07
    
There, I added it to my answer. –  William Nov 15 '11 at 15:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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