A quick google (first hit) found.
The backup of VIO server is pretty straight forward as it is mentioned inthe redbook(advanced power virtualization)
1)Export a directory from a NIM / NFS server where you want to save the vio-bkp
2)On vio server, mount the exported filesystem onto a local directory
3)issue a backupios command ( you have 2 options here )
a)backupios -file "/the directory name" --this creates a nim_resources.tar file which contains the mksysb and the spot ,
b)backupios -file "/the directory name" -mksysb ---this creates only the mksysb file.
---------------
The above can be done fairly easily manually and can be incorporated into a script to be run in cron on VIO server to automate the process ....BUT this method is not supported by IBM...and I dont know why !!! ...maybe this will be incorporated inthe next versions of the VIO
---------------
The supported method is
1)setup ssh between a nfs/nim server and the HMC to operate without password. This way, from a AIX command line you can run VIO commands.
2)Here is a example
hmc2clx is the HMC console
nim1crs is the NIM/nfs server
server-** is the p5 server/managed system
agp001-I/O Server -- is the VIO server
from the nim server ,which is a 5.3 tl4 box, i issue the following commands
# ssh hmc2clx -l hscroot 'viosvrcmd -m Server-** -p agp001-I/O
Server -c "mount nim1crs:/rmt_mksysb /home/padmin/backup_loc"'
# ssh hmc2clx -l hscroot 'viosvrcmd -m Server-** -p agp001-I/O
Server -c "backupios -file /home/padmin/backup_loc/agp001"'
Mike
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."