Ubuntu – How to recover the data from an encrypted home directory


I have a big problem. When I made a upgrade from 10.10 to 11.04 I lost all my data in home directory. I have only data from my home encrypted directory. What can I do?
Thanks Martin

Best Answer

I solved the problem.

Make a backup all encripted data to *.tar file.

Find hidden password for an encrypted directory - passprase or you find out:

ecryptfs-unwrap-passphrase /home/oldusername/.ecryptfs/wrapped-passphrase

Create a new user with an encrypted home directory (check in the selection).

Log in as a new user, then follow this instructions: Recovering your data in this address in https://help.ubuntu.com/community/EncryptedPrivateDirectory

(sudo mount-t ecryptfs /home/oldusername/.Private /home/username/Private) and finally log to directory Private as root privilage.

Many success Martin