This question already has an answer here:
Suddenly I deleted my NTFS partition from the Disk in Ubuntu and later I created a new partition of the same name from the one I deleted before. Now I have some files in there I'm missing.
I want to retrieve my data before formatting this partition. What can I do to achieve this. I tested
Testdisk, but it won't help.