
Chapter 12. Scheduling
381
database backup expiry, but if you have not licensed it, you must delete the
volume history yourself. Use the
delete volhistory
command to do this. We
recommend deleting any database backups that are older than seven days. The
delete volhistory
command will never delete the current database backup, so we
use “today-6” when specifying the “TODate” option.
The two recommended schedules are DELETE_VOLHIST and
BACKUP_VOLHIST.
DELETE_VOLHIST
We define a schedule to delete volume history, called DELETE_VOLHIST,
specifying a type of TYPE=DBBACKUP, as shown in Example 12-6.
Example 12-6 Defining the DELETE_VOLHIST schedule
tsm: LOCHNESS_SERVER1>
define schedule delete_volhist type=admin cmd="delete
volhistory type=dbbackup todate=today-6" description="Delete volume history
information for database backups" starttime=07:00 active=yes
ANR2577I Schedule DELETE_VOLHIST defined.
tsm: LOCHNESS_SERVER1>
q sched delete* t=a
* Schedule Name
Start Date/Time
Duration
Period
Day
-
---------------- -------------------- -------- ------ ---
DELETE_VOLHIST
02/20/2006 07:00:00
1 H
1 D
Any
BACKUP_VOLHIST
Some operations, like the
delete volhistory
command, do update the volume
history in the server database, but do not update the external volume history
files. To ensure that the external volume history data is current, you should
schedule a daily volume history backup using the
backup volhistory
command.
Example 12-7 shows how to create the schedule.
Example 12-7 Defining the BACKUP_VOLHIST schedule
tsm: LOCHNESS_SERVER1>
define schedule backup_volhist type=admin cmd="backup
volhistory" description="Backup volume history file" starttime=07:05 active=yes
ANR2577I Schedule BACKUP_VOLHIST defined.
tsm: LOCHNESS_SERVER1>
q sched backup* t=a
* Schedule Name
Start Date/Time
Duration
Period
Day
-
---------------- -------------------- -------- ------ ---
BACKUP_VOLHIST
02/20/2006 07:05:00
1 H
1 D
Any
Summary of Contents for E16RMLL-I - Tivoli Storage Manager
Page 2: ......
Page 23: ...Figures xxi 22 6 AIX lab environment 708...
Page 24: ...xxii IBM Tivoli Storage Manager Implementation Guide...
Page 32: ...2 IBM Tivoli Storage Manager Implementation Guide...
Page 44: ...14 IBM Tivoli Storage Manager Implementation Guide...
Page 94: ...64 IBM Tivoli Storage Manager Implementation Guide...
Page 96: ...66 IBM Tivoli Storage Manager Implementation Guide...
Page 126: ...96 IBM Tivoli Storage Manager Implementation Guide...
Page 298: ...268 IBM Tivoli Storage Manager Implementation Guide...
Page 354: ...324 IBM Tivoli Storage Manager Implementation Guide...
Page 356: ...326 IBM Tivoli Storage Manager Implementation Guide...
Page 423: ...Chapter 12 Scheduling 393 Week of Month Expire Never tsm quit...
Page 424: ...394 IBM Tivoli Storage Manager Implementation Guide...
Page 510: ...480 IBM Tivoli Storage Manager Implementation Guide...
Page 552: ...522 IBM Tivoli Storage Manager Implementation Guide...
Page 554: ...524 IBM Tivoli Storage Manager Implementation Guide...
Page 594: ...564 IBM Tivoli Storage Manager Implementation Guide...
Page 612: ...582 IBM Tivoli Storage Manager Implementation Guide...
Page 618: ...588 IBM Tivoli Storage Manager Implementation Guide...
Page 720: ...690 IBM Tivoli Storage Manager Implementation Guide...
Page 752: ...722 IBM Tivoli Storage Manager Implementation Guide...
Page 758: ...728 IBM Tivoli Storage Manager Implementation Guide...
Page 780: ...750 IBM Tivoli Storage Manager Implementation Guide...
Page 802: ...772 IBM Tivoli Storage Manager Implementation Guide...
Page 823: ...Index 793 Z z OS tape management 58 zOS 200...
Page 824: ...794 IBM Tivoli Storage Manager Implementation Guide...
Page 825: ...IBM Tivoli Storage Manager Implementation Guide...
Page 826: ......
Page 827: ......