jrevenson,
You need to install TestDisk package on your device. You can do this do this via SSH.
-
Stop any activity which might overwrite deleted files on your device (ie, don’t copy any new files to your device)
-
Log into your webinterface and activate SSH. (SSH allowes you to interface with your device via command line)
-
Connect via SSH to your device. This can be done from windows using Putty. Enter "Root"for username and “welc0me” is the default password.
-
Install TestDisk package using apt-get (package management for debian): “apt-get install testdisk”
-
after installation you can run PhotoRec from command line: “photorec”
-
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.
-
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.
-
If you want to recover the entire partition you might be best off using TestDisk.
Good luck!