Page 1 of 1

Undelete .img from Synology NAS

Posted: 19 Dec 2019, 12:41
by TungstenE2
Hi all,

I deleted several .img image files from my Synology by using rm from Linux on mounted Synology drive.
Each file is about 32GB.

According to this overview .img should be supported: https://www.cgsecurity.org/wiki/File_Fo ... y_PhotoRec

In the scan options I do not find img file type, so just to restore this file type.

How best just to restore img type files?

thx

Re: Undelete .img from Synology NAS

Posted: 21 Dec 2019, 08:25
by cgrenier
Is the deleted file still used by another process ?
Try TestDisk, Advanced, List. Try to locate the files. If the size is other than 0, copy it to another disk.
PhotoRec will not work for this kind of files, they are too large and usually fragmented.

Re: Undelete .img from Synology NAS

Posted: 21 Dec 2019, 10:23
by TungstenE2
thx, will give it a try. but how to select single file to be restored?

'TestDisk, Advanced, List.'

I only have option 'TestDisk, Advanced, ImageCreation' no List option.

Superblock and Undelete are missing from the options....

https://www.cgsecurity.org/wiki/TestDis ... e_for_ext2

thx
testdisk.PNG
testdisk.PNG (18.71 KiB) Viewed 9175 times

Re: Undelete .img from Synology NAS

Posted: 22 Dec 2019, 08:04
by cgrenier
You should select the device /dev/md0 (or md1, md2). Linux Raid devices are only available under Linux.