I have mistakenly formatted a linux ext4 partition in the hard disk and wanted to recover the data. I have ran testdisk and fsck.ext4 on the /dev/sdb1 partition, but with no luck. Testdisk has recovered data with different file names and folder structures.
I couldn't get a proper filesystem structure. I am planning to recover data once again by trying gparted and ddrescue. Will it still help in recovering the data since I have already tried correcting and recovering with the testdisk and fsck.ext4 utility?
Would greatly recommend your suggestions to get back my lost data during a format.
ddrescuejust copies raw data. It's useful with a failing disk because it tries hard to get as much data as it can, despite hardware errors. If the disk (hardware) is healthy, it doesn't matter if you work with it or with a copy created withddrescue. If other tools alter data in place, you may want to work with a copy (to be able to start over if anything goes wrong).ddrescuecan give you a copy but this is all it does. – Kamil Maciorowski Jun 05 '19 at 08:34