can "WRITE" command be undone?

How to use TestDisk to recover lost partition
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
filiptas
Posts: 1
Joined: 22 Oct 2023, 01:07

can "WRITE" command be undone?

#1 Post by filiptas »

Hello,

I was trying to fix my partition (the hdd had 2 partitions: F and G, one was working fine, the other one was corrupt) and recover files using Testdisk.
I tried to follow the instructions:

https://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

After deep search the missing partition was showing in the partitions list so I used the "write" command believing it would "keep it" in windows.
After I restarted the computer, F and G were merged into partition D and there were no files at all, as it was formatted.

Please help.
recuperation
Posts: 3026
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: can "WRITE" command be undone?

#2 Post by recuperation »

There is no UNDO function for the write command.

You did not check the readibility of the found partition using the "p"-key as described in the link you provided.

You might rerun TestDisk and use this function to check which partitions contain reasonable content that you recognize.
Locked