What is a Mksysb?

What is a Mksysb?

A mksysb is an AIX system backup that allows you to restore your rootvg disks to what they were at the time the backup was taken. In effect, this restores your operating system. A mksysb backup should be taken at least once a week.

How do I read a Mksysb file?

Examples

  1. To list the contents of the system backup that is on the default device /dev/rmt0, enter the following command: lsmksysb.
  2. To list the contents of the system backup that is on device /dev/cd1, enter the following command: lsmksysb -f /dev/cd1.

How do I restore AIX backup to Mksysb?

Attaching a new (disk) volume

  1. Create a file system to hold the mksysb archive.
  2. Click Add new under Attached volumes.
  3. Give your data volume a Name.
  4. After successfully attaching the mksysbfs volume to the helper VM, log in to the VM.
  5. Create an AIX Volume Group by running the mkvg command.

How do I take NIM server backup from Mksysb?

Taking mksysb of management object(VIOS)

If you get a connection failed message, you will need to run the remote_management command on the vio server to establish a NIM connection between the NIM master and NIM client. If you run into any problems please open new case with IBM Support Team for further investigation.

How do I make Mksysb?

Creating a mksysb image from an AIX VM in Skytap

  1. Step 1 – Add a NIM master to the environment.
  2. Step 2 – Configure the Skytap AIX VM that you want to back up.
  3. Step 3 – Add the AIX VM as a client to the NIM Master and check NIM master resources.
  4. Step 3 – Create a mksysb image from the client.

How do I restore Mksysb without Nim?

Please note that LPAR on which you are to Restore Image Backup should be up and running .

  1. Attach tape drive in LPAR on which you are planing to Restore Image Backup.
  2. put mksysb Image Backup in tape drive.
  3. run smitty restmksysb in LPAR on which you are planing Restore Image Backup.

How do I restore a file from Mksysb?

First of all, go to the directory that contains the mksysb image file:

  1. # cd /sysadm/iosbackup. In this example, were using the mksysb image of a Virtual I/O server, created using iosbackup.
  2. # restore -T -q -l -f vio1.mksysb | grep nimbck.ksh.
  3. # restore -x -q -f vio1.mksysb ./home/padmin/nimbck.ksh.
  4. # cd ./home/padmin.

What is a Mksysb in AIX?

This resource is a file containing the image of the root volume group (generated with the AIX mksysb command) of a machine. It is used to restore a machine, or to install it from scratch (also known as “cloning” a client).

How do I restore a single file from Mksysb backup in AIX?

How do I create an ISO file with Mksysb?

The mksysb_iso command creates a system backup image (mksysb) from the root volume group (rootvg) or from a previously created mksysb image to a bootable ISO 9660 image. If you do not specify any file systems or directories as command parameters, the mksysb_iso command creates the necessary file systems.

How do I use Mksysb in AIX?

This resource is a file containing the image of the root volume group (generated with the AIX mksysb command) of a machine.

data file and mksysb what will be restored.

  1. create image.data file and change PPSIZE line:
  2. create an mksysb (and use the updated image.data)
  3. creating iso image from mksysb:

How do I restore Mksysb from alternate disk?

  1. Create an mksysb resource from the mksysb image created above on NIM server.
  2. Set up the system on which you want to install DMP as NIM client.
  3. Type smitty nim then select Perform NIM Software Installation and Maintenance Tasks -> Alternate Disk Installation -> Install mksysb on an Alternate Disk.
  4. Select target system.

How do I get Mksysb in AIX?

Related Post