Hi all,
Usung kubuntu 12.04 on ext4.
I deleted my entire ecryptfs folder containing my encrypted home folder.
The backup I thought I had is unusable.
Disaster.
Running PhotoRec I have recovered the files structure.
But all directories and files are renamed as PhotoRec does.
How would I return these files to the original state, please?
I have found this thread - http://blog.dustinkirkland.com/2011/04/ ... ivate.html - to recover ecryptfs files but how would I apply this to the recovered, renamed PhotoRec files?
TFL.
.ecryptfs files recovered with PhotoRec. How do I use them?
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
-
- Posts: 3
- Joined: 13 Sep 2012, 08:52
- cgrenier
- Site Admin
- Posts: 5438
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: .ecryptfs files recovered with PhotoRec. How do I use th
Code: Select all
sudo chown -R user:user recup_dir.*
Move all .eCryptfs files to your .Private directory
Code: Select all
mkdir ~/.Private; mv recup_dir.*/*.eCryptfs ~/.Private
Code: Select all
sudo ecryptfs-recover-private
-
- Posts: 3
- Joined: 13 Sep 2012, 08:52
Re: .ecryptfs files recovered with PhotoRec. How do I use th
Hi cgrenier,
Thanks for your post.
I have followed your advice and have a bunch of ecryptfs directories and files under /tmp.
I'm not sure what to do with these though.
To explain my problem further...
Following this;
https://help.ubuntu.com/community/Encry ... tory_Setup
I removed all ecryptfs directories and files using;
$ rm -rf ~/Private ~/.Private ~/.ecryptfs
Dumb dumb dumb.
So... that means I have no;
home/.ecryptfs/USER/.ecryptfs directory and so none fo the files therein.
(The backup I thought I had is useless.)
Can I recover my files without this directory?
Thanks very much.
Thanks for your post.
I have followed your advice and have a bunch of ecryptfs directories and files under /tmp.
I'm not sure what to do with these though.
To explain my problem further...
Following this;
https://help.ubuntu.com/community/Encry ... tory_Setup
I removed all ecryptfs directories and files using;
$ rm -rf ~/Private ~/.Private ~/.ecryptfs
Dumb dumb dumb.



So... that means I have no;
home/.ecryptfs/USER/.ecryptfs directory and so none fo the files therein.
(The backup I thought I had is useless.)
Can I recover my files without this directory?
Thanks very much.
-
- Posts: 3
- Joined: 13 Sep 2012, 08:52
Re: .ecryptfs files recovered with PhotoRec. How do I use th
Would 'home/.ecryptfs/USER/.ecryptfs' be one of the folders recovered using ;
sudo ecryptfs-recover-private ?
If yes ( I hope so!!!) how do I identify it, and how do I use it, please?
Thanks.
sudo ecryptfs-recover-private ?
If yes ( I hope so!!!) how do I identify it, and how do I use it, please?
Thanks.
Re: .ecryptfs files recovered with PhotoRec. How do I use th
Hi ambivalent ,
I have i similar problem, could you find a way to read or decrypt .ecryptfs files ??
I have i similar problem, could you find a way to read or decrypt .ecryptfs files ??