On Thu, May 14, 2020 at 8:27 AM G.W. Haywood via BackupPC-users < backuppc-users@lists.sourceforge.net> wrote:
> Hi there, > > On Thu, 14 May 2020, Richard Shaw wrote: > > > ... > > Is it possible to do a conditional restore? Something like: > > > > Only restore files which are the same date (mtime?) and the hashes don't > > match. > > > > Thoughts? > > Assuming that it's worth recovering the data, the data presumably must > have some value. In your situation I'd be reluctant to do anything > like that to valuable data, since I might unnecessarily be overwriting > it with something old or even corrupt. I think I'd restore my backup > to a scratch partition, then use something like 'rsync --dry-run' to > show me the differences. > I'd go back far enough for a "known good" backup. I tested the drive a week or so earlier with smartctl and it had no errors (or pending sectors) at that time. Funny enough (well, actually I'm still kinda pissed) I suspected the HD was bad and did an RMA with Seagate, then after receving a warning that if you return the drive and nothing is wrong with it they'll charge you for the replacement. So I futzed around in a Win10 VM to get Seatools on a USB stick and tested the drive and Seatools gave it a clean bill of health so I sent back the replacement drive instead. So this is my SECOND RMA for the same drive. Obviously I didn't get a lot of warning. It went from "fine" to >1400 reallocated sectors in less than two weeks. OTOH I run two backup servers, so the situation is most unlikely here. > Consider that a hint. :) > This is a home system so... None of the data is probably critical. Once I get my replacement drive from Seagate I'll probably slap it in a USB enclosure and restore to it so I can poke around. Thanks, Richard
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/