On Sun, 2 Mar 2025 12:51:03 -0500
Eben King <e...@gmx.us> wrote:

> > I smell a rat. I wonder if the corruption is because your hard
> > drive is failing. I would first boot to a live CD and run smartctl
> > tests on it.  
> 
> At the end of this message.

Nothing there jumps out at me, but maybe someone else will spot
something. You might go ahead and do a test ("smartctl -t").

> 
> 
> > How did you do the backup? Per file (e.g. rsnapshot or amanda), or
> > per block device (e.g. dd if=/dev/sda1 of=…)?  
> 
> 
> Block device.  If I've resize / moved a partition since the last
> backup I'll do a full (dd if=/dev/sda of=/dev/sdc), if not I'll do it
> by partition (dd if=/dev/sdaX of=/dev/sdcX).  Since only maybe 70% of
> the drive is in partitions, it's faster that way.

Ah. If you back up the partitions, you should be able to mount the
images as loopback devices and recover from those. I guess from remarks
you made elsewhere in this thread that that is what you have done.
Diffing should identify the changes.

I have no idea how to get at a disk image. I think I did it some ten
years ago, but don't recall how.

> 
> 
> > If you know the relevant files and have a per file backup, restoring
> > them should be a matter of selecting the correct file.  
> 
> 
> The most obnoxious errors are definitely under ~/.mozilla/firefox and 
> probably ~/.mozilla/firefox/<profile>/extension* .

diff is your friend.

> 
> > I am assuming that the corruption is all in /home and that it is
> > included in your backups. If either one of those is false, you may
> > be in deep yogurt.  
> 
> 
> Yeah, I don't know how much I trust the backup of /home right now.

Yeah. Sigh. This is why I run rsnapshot and amanda backups, and
syncthing transfers to other machines.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Reply via email to