Using photorec via ssh on Synology DS213+
Posted: 25 Jul 2016, 18:07
On my Synology DS213+ (1x 4TB HD) i deleted 2 directorys with .raw images (Sony Alpha 57). I cross-compiled photorec for Synology DS213+ to recover the files.
All works fine via ssh. It will take nearly 80h to finish. I dont want to keep the ssh session and this notebook on till its finished. I usualy use strg+z to stop a process, set it to background and disown the PID. Then i can exit the ssh and the process works in background. I tried this with photorec. I can stop photorec and set it to background with ctrl+z and rund bg. But stops after few seconds with this error " [1]+ Stopped (SIGTTOU) sudo ./photorec". It stops because photorec writes to the terminal. I can fetch the process with fg.
How can i run photorec via ssh as a backgroundprocess?
All works fine via ssh. It will take nearly 80h to finish. I dont want to keep the ssh session and this notebook on till its finished. I usualy use strg+z to stop a process, set it to background and disown the PID. Then i can exit the ssh and the process works in background. I tried this with photorec. I can stop photorec and set it to background with ctrl+z and rund bg. But stops after few seconds with this error " [1]+ Stopped (SIGTTOU) sudo ./photorec". It stops because photorec writes to the terminal. I can fetch the process with fg.
How can i run photorec via ssh as a backgroundprocess?