From: Technology Magazine
http://www.techmagazinez.com/2013/11/difference-between-backing-up-ibm.html
Thursday, 14 November 2013
Difference between backing up IBM Virtual I/O server using backupios with and without -mksysb flag
On this article ,we just want to list the difference between backing up IBM Virtual I/O server using backupios with and without -mksysb flag . I have seen people make confusion specially in interview.
Backing up the Virtual I/O Server using backupios command without any flag to a remote file system will create the nim_resources.tar image in the directory we specify. When the -mksyb flag is used, the resources used by the installios command are not saved in the image. Therefore to restore a VIO server from this image can be used only with NIM. Whereas creating a “nim_resources.tar” for Virtual I/O Server allows this backup can be reinstalled from the HMC using the installios command.
Procedure
The backupios command creates a backup of the Virtual I/O server and places it onto a file system, bootable tape or DVD. You can use this backup to reinstall a system to its original state after it has been corrupted. If you create the backup on tape, the tape is bootable and includes the installation programs needed to install from the backup.
For more information http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphcg/backupios.htm
Task 1: Login with padmin privilege to VIO server
Task 2: Change to root privilege using command
$ oem_setup_env
Task 3: Create a mount directory where the backup image, will be written to
# mkdir /vios01/backup
Task 4: Mount a filesystem from the NIM master on the mount directory /vios01/backup on VIOS01
# mount server1:/export/mksysb /vios01/backup
Task 5: Run exit to go back to the padmin privilege for running backupios command
#exit
Task 6. Run the backupios command with the –file option. Make sure to specify the path to the mounted directory
$ backupios –file /vios01/backup/`hostname`.mksysb -mksysb — will create a .mksyb image
$ backupios –file /vios01/backup/ — will create a “nim_resources.tar ”
http://www.techmagazinez.com/2013/11/difference-between-backing-up-ibm.html