Is it possible to pause PhotoRec, turn linux off/on, and resume the scan?

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
Tara
Posts: 6
Joined: 10 Jul 2018, 15:32

Is it possible to pause PhotoRec, turn linux off/on, and resume the scan?

#1 Post by Tara »

Let's say I am over 100 hours into a scan and it needs to run for 100 more hours, but I really need to turn off linux without losing all the progress.

It seems to be possible to start a scan from any sector using the "expert mode", but it seems every time PhotoRec finds a file, it goes back and re-scans millions of sectors again (am I right?).

So I am not sure if just writing down the current sector number and starting a new scan from that sector does the job.

BrianG
Posts: 2
Joined: 03 Sep 2018, 09:52

Re: Is it possible to pause PhotoRec, turn linux off/on, and resume the scan?

#2 Post by BrianG »

I also have this same question and i cannot find any proper answers on the internet and also here. need solution.

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Is it possible to pause PhotoRec, turn linux off/on, and resume the scan?

#3 Post by cgrenier »

When PhotoRec starts, it checks for the photorec.ses file. If this file is present, it will use it to resume the file recovery.

PBS67
Posts: 3
Joined: 16 Nov 2018, 19:25

Re: Is it possible to pause PhotoRec, turn linux off/on, and resume the scan?

#4 Post by PBS67 »

I had to restart a NAS that I was recovering data from. I then restarted Photorec and it resumed which was fine. Due to the long period (12000 hours) I decided to quit once again and narrow down file types in the options then restarted Photorec. It is now performing a "file System Analysis" does this mean it's starting from scratch again as it had been running for over 400 hours!! Can I quit if necessary and resume from the .ses file?

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Is it possible to pause PhotoRec, turn linux off/on, and resume the scan?

#5 Post by cgrenier »

PhotoRec doesn't do "File system Analysis".
I wonder why the estimated time is so big, is one of the disk defective (ie. bad sectors) ?

Locked