How to recover deleted files

jrevenson,
You need to install TestDisk package on your device. You can do this do this via SSH.  

  1. Stop any activity which might overwrite deleted files on your device (ie, don’t copy any new files to your device)

  2. Log into your webinterface and activate SSH. (SSH allowes you to interface with your device via command line)

  3. Connect via SSH to your device. This can be done from windows using  Putty. Enter "Root"for username and “welc0me” is the default password. 

  4. Install TestDisk package using apt-get (package management for debian): “apt-get install testdisk”

  5. after installation you can run PhotoRec from command line: “photorec”

  6. You should recover lost files to another drive than the one you are recovering from. This can be done either by plugging in a usb drive or by mounting a remote drive. Plugging in a usb drive is the simplest and safer option.

  7. if you have limited storage capacity on the destination device and/or don’t want to be waiting a long time for photorec to finish and/or only want to recover some specific files and formats, make sure to change the photorec settings to recover the file types you are interested in. 

  8. If you want to recover the entire partition you might be best off using TestDisk.

Good luck!

2 Likes