Air Cleaner User Manual
Chapter 20. Scheduled Backups and Scripts
The SysBack Scripts and Scheduling functions provide a mechanism to automate
common backup functions that require little or no user interaction. The SysBack
Scripts functions help you build command syntax into a Korn Shell script that can
be scheduled with SysBack. The SysBack Scheduling functions enable you to take
these scripts and schedule them to run automatically at a specified time or interval.
The Scheduling functions act as a front-end to crontab and enables you to add,
update, and remove SysBack backup scripts to crontab.
Scripts
Accessing the Backup Scripts Menu
The Backup Scripts menus enable you to create, change, or remove backup scripts.
To access the Backup Scripts menus:
1. From the SysBack Main Menu, select Backup Schedules and Scripts.
Note: At a command line, type smit sb_script_sched.
2. Select Backup Scripts.
Note: At a command line, type smit sb_script.
Creating a Backup Script File
When you create the backup script file, the SMIT options with which you are
presented give the appearance that a backup will be performed. These options are
only used to create the backup command sequence, and not to start a backup.
The scripts create with the Create a Backup Script File option are stored in the
/usr/lpp/sysback/sbscripts directory, unless a fully qualified path name is specified
in the script name field.
To create a backup script file:
1. From the Backup Scripts Menu, select Create a Backup Script.
Create a Backup Script File
Move cursor to desired item and press Enter.
Create a System Backup Script
Create a Volume Group Backup Script
Create a Filesystem Backup Script
Create a Logical Volume Backup Script
Create a File/Directory Backup Script
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
Figure 20-1. Create a Backup Script File Menu Options
© Copyright IBM Corp. 2002,2003 20-1