Monday, December 31, 2007

Extarct system backup to IBM system p5


Can take a system backup using AIX command mksysb.The mksysb command ensures that the block size is 512 when these images are created.Bootable mksysb tapes comprise the following images:Boot image,BOS Installation/Maintenance image,Table of contents image,System backup image.
  • Creates a complete backup of rootvg.
  • If image is saved to tape, the tape is bootable and can be used to completely clone the machine.
  • If you need to restore a mksysb image to a machine of a different architecture than the one you made the image on (e.g., POWER-2 to PowerPC), you must use a special clone disk.
Restoring a file from the tape

Follow these steps to restore a file from the Tape.

  1. Be sure the tape block size is 512 by entering the following command: # lsattr -E -l rmt0.

    If the block size is not correct, use the following command to set it to 512: # chdev -l rmt0 -a block_size=512.

  2. Make sure the tape is rewound. If the tape is not rewound, enter the following command: # tctl -f /dev/rmt0 rewind
  3. Extract the necessary files by entering: # restore -xvq -s2 -f /dev/rmt0.1.filename
    Note: The filename should be the full path, and always preceded with a . (dot character), such as ./tapeblksz.
  4. Rewind the tape by entering: # tctl -f /dev/rmt0 rewind
  5. Change the block size back to its original value, if necessary.
I have restore a backup from a tape for Omega line server(system p5 machine )

1 comment:

Unknown said...

Congrats and Happy New Year...!!!
Keep it up...... Do publish more useful stuff...

Guy, be careful with spellings more, have noticed few...