undelete files from filelist [/cmd]

Using TestDisk to undelete files
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
Locked
Message
Author
lurkr
Posts: 3
Joined: 19 Apr 2015, 09:01

undelete files from filelist [/cmd]

#1 Post by lurkr »

there ext4 file list of deleted files, recover files as possible?

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: undelete files from filelist [/cmd]

#2 Post by Fiona »

Have you been able to list your files?
Did you already try to copy some of them?
Can you copy and past the content of your testdisk.log file into your next post?

Fiona

lurkr
Posts: 3
Joined: 19 Apr 2015, 09:01

Re: undelete files from filelist [/cmd]

#3 Post by lurkr »

disk - lvm /dev/mapper/my-lvm - is 24Tb , ext4
filelist - over ~5670 lines filenames with full path.

Need to restore all the files from the filelist.
How to do it?

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: undelete files from filelist [/cmd]

#4 Post by Fiona »

I've no idea which version you currently use?
TestDisk 7 is released and has some improvements listing files of ext4-partitions.
I'm not as much a linux tech savvy.
That's why I'm not sure, is ext4 undelete supported, because I didn't test it.
Christophe Grenier would know it exactly.
In case you can contact him!
Otherwise, just even try it?
Do you run the menu Undelete?
Normally, if you list your files, at the bottom of the screen, you'll find all the commands to copy data.
Standard path or directory is your testdisk folder.
Checking that 2 dots in the upper area and pressing enter you'll get each time 1 directory up, until you get to your disk selection.
There you can choose your desired disk and folder, where you'd like to copy your data to.

Fiona

lurkr
Posts: 3
Joined: 19 Apr 2015, 09:01

Re: undelete files from filelist [/cmd]

#5 Post by lurkr »

Thanks for the answer, test drive perfectly recovers files in interactive mode, but I need to restore the files list in script-like mode (for example using /cmd options)

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: undelete files from filelist [/cmd]

#6 Post by Fiona »

I only can provide the page with scripted commands:
http://www.cgsecurity.org/wiki/Scripted_run

Fiona

Locked