Backing up the Virtual I/O Server using IBM Tivoli Storage
Manager automated backup
You can automate backups of the Virtual I/O Server using
the crontab command and the Tivoli® Storage Manager scheduler.
Before you start, complete the following tasks:
Ensure that you configured the Tivoli Storage Manager client on the Virtual I/O Server. For instructions,
see Configuring the IBM® Tivoli Storage Manager client.
Ensure that you are logged into the Virtual I/O Server as
the prime administrator (padmin).
To automate backups of the Virtual I/O Server,
complete the following steps:
Write a script that creates a mksysb image of the Virtual I/O Server and
save it in a directory that is accessible to the padmin user
ID. For example, create a script called backup and save it in the /home/padmin directory.
If you plan to restore the Virtual I/O Server to
a different system from which it was backed up, then ensure that your script
includes commands for saving information about user-defined virtual devices. For more information, see the following tasks:
For instructions about how to create a mksysb image, see Backing up the
Virtual I/O Server to a remote file system by creating a mksysb image.
For instructions about how to save user-defined virtual devices, see Backing
up user-defined virtual devices.
Create a crontab file entry that runs the backup script
on a regular interval. For example, to create a mksysb image every Saturday
at 2:00 a.m., type the following commands:
crontab -e
0 2 0 0 6 /home/padmin/backup
When you are finished, remember to save and exit.
Work with the Tivoli Storage Manager administrator to associate
the Tivoli Storage
Manager client node with one or more schedules that are part of the policy
domain. This task is not performed on the Tivoli Storage Manager client on the Virtual I/O Server. This task is performed
by the Tivoli Storage
Manager administrator on the Tivoli Storage Manager server.
Start the client scheduler and connect to the server schedule using
the dsmc command as follows:
dsmc -schedule
If you want the client scheduler to restart when the Virtual I/O Server restarts,
then add the following entry to the /etc/inittab file: