Page 1 of 1
Accidental format while trying to backup macOS
Posted: 28 Aug 2018, 13:44
by Usman
While trying to backup macOS, I accidentally clicked on Yes when asked if I want to format my external HDD

.
I had important data in the HDD and I would like to recover it.
I have tried recovering the partition using TestDisk but I'm unable to actually understand how to use it.
I have also tried to read the documents on Wiki, but I'm still clueless.
Any help or advice is very much appreciated. Many thanks!
Re: Accidental format while trying to backup macOS
Posted: 29 Aug 2018, 06:18
by cgrenier
You can also read
https://www.cgsecurity.org/testdisk.pdf
If you are really unable to understand how to use testdisk or if it doesn't work, you can try photorec instead but you will need enough free space on another disk to store the recovered data.
Re: Accidental format while trying to backup macOS
Posted: 29 Aug 2018, 13:45
by Usman
Re: Accidental format while trying to backup macOS
Posted: 30 Aug 2018, 05:57
by cgrenier
How many partitions do you had on this disk, what filesystem (FAT32, exfat, NTFS, HFS+...) were each of them using ?
Re: Accidental format while trying to backup macOS
Posted: 30 Aug 2018, 14:58
by Usman
From what I can remember I only had one exfat partition.
Re: Accidental format while trying to backup macOS
Posted: 31 Aug 2018, 06:11
by cgrenier
Unfortunately there is no trace of an exFAT partition.
Run PhotoRec, enable the Expert mode in the Options menu, start a Search, use a blocksize of 512 bytes, use the default values otherwise.
It should recover your data without the original filenames.
Re: Accidental format while trying to backup macOS
Posted: 01 Sep 2018, 03:59
by Usman
cgrenier wrote: 31 Aug 2018, 06:11
I am trying that now
I am trying that now.
But after starting a Search, I don't see the option to choose a blocksize.
However I do get asked
Try to unformat a FAT filesystem as per the screenshots below.
What option should I choose?