By user12625760 on Apr 05, 2009
I had reason to discover if my solution for backing up the windows PC worked. Apparently the PC had not been working properly for a while but no one had mentioned that to me. The symptoms were:
No menu bar at the bottom of the screen. It was almost like the screen was the wrong size but how it was changed is/was a mystery.
It was claiming it needed to revalidate itself as the hardware had changed, which it catagorically had not and I had 2 days to sort it out. Apparenty this message had been around for a few days (weeks?) but was ignored.
Now I'm sure I could have had endless fun reading forums to find out how to fix these things but it was Saturday night nd I was going cycling in the morning. So time to boot solaris and restore the back up. First I took a back up of what was on the disk, just in case I get a desire to relive the issue. I just needed one script to restore it over ssh. The script is:
: pearson FSS 14 $; cat /usr/local/sbin/xp_restore #!/bin/ksh exec dd of=/dev/rdsk/c0d0p1 bs=1k : pearson FSS 15 $;
and the command was:
$ ssh pc pfexec /usr/local/sbin/xp_restore < backup.dd
having chosen the desired snapshot. Obviously the command was added to /etc/security/exec_attr. Then just leave that running over night. In the morning the system booted up just fine, complained about the virus definitions being out of date and various things needing updates but all working. Alas doing this before I went cycling made me late enough to miss the peleton, if it was there.