IBM E16RMLL-I - Tivoli Storage Manager Implementation Manual page 409

Implementation guide
Table of Contents

Advertisement

/*
pools, followed by the
/*
database. If there are
/*
active node sessions,
/*
reschedule to run again in */
/*
20 minutes
/*
/*
The script will back up
/*
three storage pools named
/*
diskdirs, diskdata and
/*
tapedata to copypools named */
/*
offdata and offdirs.
/* Example: run redbook_offsite
/* -----------------------------------------*/
select * from sessions where -
upper(session_type)='NODE'
if (rc_ok) goto reschedule
backup stgpool diskdirs offdirs wait=yes
backup stgpool diskdata offdata wait=yes
backup stgpool tapedata offdata wait=yes
backup db devclass=coffsite type=full scratch=yes
exit
reschedule:
delete schedule redbook_offsite_retry type=admin
define schedule redbook_offsite_retry type=admin -
cmd="run redbook_offsite" -
active=yes starttime=NOW+0:20 peru=onetime
You can call the script anything you like, but it should represent the function
performed by the script, and not be already in use. You can check this with the
query script command. Example 12-4 shows that the intended name of our script
"REDBOOK_OFFSITE" is not in use as yet.
Example 12-4 Query script output
query script
tsm: LOCHNESS_SERVER1>
Name
Description
----------
------------------------------------------ ------------------
Q-COLUMNS
Query columns from a TSM database table
Q-TABLES
Show available TSM database tables
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
Managing profile
Chapter 12. Scheduling
379

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tivoli storage manager

Table of Contents