Page 1 of 1

undelete files from filelist [/cmd]

Posted: 19 Apr 2015, 09:09
by lurkr
there ext4 file list of deleted files, recover files as possible?

Re: undelete files from filelist [/cmd]

Posted: 20 Apr 2015, 10:44
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

Re: undelete files from filelist [/cmd]

Posted: 20 Apr 2015, 10:57
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?

Re: undelete files from filelist [/cmd]

Posted: 21 Apr 2015, 13:24
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

Re: undelete files from filelist [/cmd]

Posted: 21 Apr 2015, 13:34
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)

Re: undelete files from filelist [/cmd]

Posted: 21 Apr 2015, 19:10
by Fiona
I only can provide the page with scripted commands:
http://www.cgsecurity.org/wiki/Scripted_run

Fiona