Re: help recovering from stupid 'rm' trick



In article <uXa3g.8479$ww6.2199@trnddc05>, Tim Wunder <twunder@xxxxxxxxxxxxxxxxx> wrote:

So... I have a mksysb, but I really don't want to take the system down to
restore from it. My current thought is to use tar on the mksysb tape to
restore systems files, but I'm not sure that will work. Is restoring from
mksysb my only option at this point?

Well...

1. Congratulate yourself for having a mksysb.

2. Pop the mksysb tape in the attached tape drive.

3. Look into the 'restore' command -- if you don't
have the man page, you should be able to find it
via IBM's docs site or a Google search.

The reason why I am not giving exact restore commands is
because I do not know exactly how you handled backups on
the mksysb tape, so I think it is safest to refer you to
the restore man page.

4. For future reference, also helps to list OS version. :)

I don't think you'll need to reboot to restore from the mksysb tape.

If that works, you'd want to do 'bosboot -ad /dev/hdisk0' (and if
mirrored, also for hdisk1) then reboot.

P.S. feel free to lecture me on my stupidity :(

Heh, nah, been there, done that (the goof), got the t-shirt.

-Dan
.



Relevant Pages

  • Re: Boot time of mksysb tape
    ... If it does and all you see is the splash screen --> "closing stdin and stdout" for a long period of time, I bet you it's a graphic card device driver issue with the mksysb tape. ... Boot into SMS and have it boot off of the cd-rom ... a restore when I was using a KVM switch for the console, ...
    (AIX-L)
  • Re: 5.3 ML4 - mksysb restore - 0c45 on display (BUG?)
    ... That does not mean it will ignore flow control, ... mksysb I was trying to restore was the last straw before wiping a system ... Do the configiration thing on your serial console terminal or PC ...
    (AIX-L)
  • Re: couple of mksysb restore questions
    ... You can see more information on exactly what is happening in the mksysb if you ... couple of mksysb restore questions ... I don't think this is a tape block size issue. ... The mksysbs were created with a blocksize of 0. ...
    (AIX-L)
  • Re: couple of mksysb restore questions
    ... I'm restoring to the same system that the mksysb was created on -- ... tape, as well as off of CD, this happens with more than one mksysb tape ... but not necessarily at the exact same point in the restore. ... Are you simply booting from a mksysb tape and letting it install? ...
    (AIX-L)
  • Re: Adendum - mksysb restore hangs on 0c45 from tape at 530 ml4 on pseries 7028 6E1
    ... Is that really the only output from the mksysb restore in debug mode? ... Make a minimun installation on the test system from the CD - no ... On AIX you have for all task commands so writing post configuration ...
    (comp.unix.aix)