Testdisk timeout to move on to next file and resume restore?
Posted: 18 Feb 2024, 10:57
Hello,
I'm trying to restore files with testdisk, but I'm facing 2 operational problems :
- Sometimes, the restore process (Copying, please wait... 9562 ok, 0 failed) freezes for several seconds as if the drive wouldn't let Testdisk access the file (bad sector?). If I click "Enter", it stops trying for this file and moves on to the next file. Is it possible to set an amount of time after which Testdisk would abandon the read attempt for this file and moves on to the next one automatically? I'd rather have Testdisk failing to restore a few files but succeeding in restoring most of them quicker.
- Sometimes, Testdisk restore job stops as it's failing to read files I believe. At that moment the drive disconnects and reconnects by itself (I'm using a USB adapter). Not sure if the job fails because of the drive disconnecting or if the drive disconnects and reconnects on some Testdisk action at the end of the (failing) process.
Starting the restore job again over the same directory tree, is there a way to have Testdisk skip the files that where restored (file exists at the destination) during the previous run?
Thank you for any help
Blue.
I'm trying to restore files with testdisk, but I'm facing 2 operational problems :
- Sometimes, the restore process (Copying, please wait... 9562 ok, 0 failed) freezes for several seconds as if the drive wouldn't let Testdisk access the file (bad sector?). If I click "Enter", it stops trying for this file and moves on to the next file. Is it possible to set an amount of time after which Testdisk would abandon the read attempt for this file and moves on to the next one automatically? I'd rather have Testdisk failing to restore a few files but succeeding in restoring most of them quicker.
- Sometimes, Testdisk restore job stops as it's failing to read files I believe. At that moment the drive disconnects and reconnects by itself (I'm using a USB adapter). Not sure if the job fails because of the drive disconnecting or if the drive disconnects and reconnects on some Testdisk action at the end of the (failing) process.
Starting the restore job again over the same directory tree, is there a way to have Testdisk skip the files that where restored (file exists at the destination) during the previous run?
Thank you for any help
Blue.