Maybe all you need is a utility that watches the mapfile for changes and runs a script every nth time (i.e. no modifications to ddrescue)?
Robert Trevellyan On Thu, May 31, 2018 at 2:44 PM, ST <[email protected]> wrote: > > > I'd like to propose following feature: email notifications about the > > > progress. I.e. the process of creating an image of a failing drive > might > > > be long, very long. It would be nice to have the ability to make > > > ddrescue inform about its progress once in a while. Like send an email > > > to a provided address every 3 days, reporting the progress; or send an > > > email every 25% recovered... > > > > It sounds interesting > > Yes, I faced a situation where I couldn't not access the computer > running ddrescue but still would like to be informed about its progress. > E.g. you go on vacation and have ddrescue running at home/work for > several weeks... > > > but difficult. Sending email requires > > configurating some software to access the mail server. Suggestions about > > the best way of implementing this feature are welcome. > > True, the mail stuff should not be part of ddrescue. All we need to add > is some sort of "hooks" that will fire up external script/command on > certain events (like every N days/hours/weeks or every M% recovered). > This way we can send emails/sms/whatsoever and it will be up to user to > configure his environment so that the notifications will be delivered > properly. ddrescue's code will not be overloaded... > > Thank you! > > > > _______________________________________________ > Bug-ddrescue mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-ddrescue > _______________________________________________ Bug-ddrescue mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ddrescue
