From: tmg <t.m.gerlach@freenet.de>
To: ecryptfs@vger.kernel.org
Subject: File recovery via testdisk / photorec
Date: Thu, 11 Feb 2016 21:15:23 +0000 (UTC) [thread overview]
Message-ID: <loom.20160211T215847-237@post.gmane.org> (raw)
Dear developers and users,
I've searched a lot around the web, but didn't find any satisfying answer.
Consider the following situation:
- You have your home directory /home/<user> encrypted with ecryptfs
- You know your passphrase, that is, no trouble to decrypt the directory
Question: How do you recover deleted files from the mounted (decrypted) home
or the ecryptfs container?
All the ecryptfs recover strategies I've read so far were like
- use a livecd
- go and fire ecryptfs-recover-private, and mount your home readonly
- copy your files to a save place
But what about files that I can't regularly copy, because they are deleted?
If it was an unencrypted ext4, I would do (using ubuntu)
$ dd if=/dev/sda of=/media/user/sda.img
$ testdisk /media/user/sda.img
Can we run testdisk on the .ecryptfs container, or even the mounted home?
Thank you for any suggestion and best regards,
TMG
reply other threads:[~2016-02-11 21:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20160211T215847-237@post.gmane.org \
--to=t.m.gerlach@freenet.de \
--cc=ecryptfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.