Air Cleaner User Manual
HOSTNAME Name of remote backup server, if any.
/usr/lpp/sysback/scripts/fsback.post
This script is executed at the end of the SMIT System Backup option or at
the end of the sysback command. It is executed after all data is backed up
for the root and other volume groups (if selected), but before the backup
format is verified. Because the tape is left positioned at the end of the
backup, this script might contain commands to append to the tape
additional information that is not part of the system backup. Any
environment variables exported before the backup is run are available to
this script. In addition, the following variables are defined:
DEVICE Name of tape devices, virtual device, or backup image file.
HOSTNAME Name of remote backup server, if any.
The SysBack installation process looks for the following scripts and executes them
at the end of installation if they exist:
/usr/lpp/sysback/scripts/install.pre
This script must exist on the system where the system backup tape was
created or on the network boot server. It is restored and executed before
the installation menus appear. The following variable will be defined:
BOOTDEV Name of the boot device (i.e. “rmt0” for tape or “ent0” for
ethernet adapter).
/usr/lpp/sysback/scripts/install.postroot
This script must exist on the system where the system backup was created.
After all files are restored onto the newly installed system, this script exists
on the new system. It is executed immediately after the root volume group
data is restored, before any additional processing, such as recreating the
boot logical volume or restoring the non-rootvg volume groups. Refer to
“Post-Installation Scripts” on page D-3 for additional information.
/usr/lpp/sysback/scripts/install.post
This script must exist on the system where the system backup was created.
After all files are restored onto the newly installed system, this script exists
exist on the new system. It is executed as the last step in the installation
process, just before the system reboot. Refer to “Post-Installation Scripts”
on page D-3 for additional information.
Note: The scripts must have execute permissions or they will be ignored. To set
the execute permissions, type the following after creating the scripts:
chmod u+x filename
(where “filename” is the name of the script file)
If any of the scripts return a non-zero error code or contain syntax errors, the
backup or installation process alerts you and asks you to press Enter before
continuing. The remainder of the process will then continue as usual. Within the
scripts, checks should be made to ensure they are performing as planned, and the
scripts should exit with a non-zero return code if they fail to perform their desired
function. A “1” return code is sent by executing the exit 1 command from within
the script.
D-2 IBM Tivoli Storage Manager for System Backup and Recovery: Installation and User’s Guide