Save & Resume?
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
Save & Resume?
Is it possible to save the current state in Testdisk after a scan, and then skip a subsequent scan and use the previous state? I have managed more than once to accidentally exit the app before I was able to complete what I was doing, and then need to start all over again.
-
- Posts: 3036
- Joined: 04 Jan 2019, 09:48
- Location: Hannover, Deutschland (Germany, Allemagne)
Re: Save & Resume?
Unfortunately this is not possible!
Re: Save & Resume?
I have managed to get past my difficulties after scanning many times.Testdisk is a great tool, but I wish there was a prompt before throwing away hours of scanning. For example, one of the scans found a bunch of partitions and after I selected some partitions to save and it said what I had selected was valid. But when I went to write them and pressed Y to write them, it then said they weren't valid and threw away all the scan results. That seems like a bug to me. I worked around it by doing the scans multiple times and only saving one partition at a time which I then wrote out as an image; but this process took about 3 days. FWIW, there is nothing wrong with the drive other than the original partition table was lost (no bad sectors, etc.)
-
- Posts: 3036
- Joined: 04 Jan 2019, 09:48
- Location: Hannover, Deutschland (Germany, Allemagne)
Re: Save & Resume?
If you think that there is a bug in Testdisk you have to put some effort into a readable bug report. There are lots of howto-websites like this one:garyr wrote: 25 Sep 2023, 18:19 I have managed to get past my difficulties after scanning many times.Testdisk is a great tool, but I wish there was a prompt before throwing away hours of scanning. For example, one of the scans found a bunch of partitions and after I selected some partitions to save and it said what I had selected was valid.
https://rubygarage.org/blog/how-to-writ ... bug-report
Be aware, that even a good bug report does not necessarily guarantees you a fix!
Furthermore your description is unclear. After reading your stuff a couple of times I don't know what you mean by saying "selected some partitions to save". Do you mean writing a new partition table onto the disk or do you want to copy the content of some partitions?!
Again, what you do you mean?But when I went to write them and pressed Y to write them, it then said they weren't valid and threw away all the scan results. That seems like a bug to me. I worked around it by doing the scans multiple times and only saving one partition at a time which I then wrote out as an image;
If you are trying to save the content of partitions, your procedure is an unintended off-label use. You are supposed to duplicate your disk using ddrescue as described in the manual to have a backup.but this process took about 3 days. FWIW, there is nothing wrong with the drive other than the original partition table was lost (no bad sectors, etc.)
There is a standard procedure to recover lost partitions:
https://www.cgsecurity.org/wiki/TestDisk_Step_By_Step