![]() |
![]() |
This section describes how to set up a basic administrative command schedule using Tivoli Storage Manager defaults. To later update or tailor your schedules, see Tailoring Schedules.
Notes:
Task | Required Privilege Class |
---|---|
Define, update, copy, or delete administrative schedules | System |
Display information about scheduled operations | Any administrator |
Use the DEFINE SCHEDULE command to create a new schedule for processing an administrative command. Include the following parameters:
For example:
define schedule backup_archivepool type=administrative cmd='backup stgpool archivepool recoverypool' active=yes
This command results in the following:
backup stgpool archivepool recoverypool
This command specifies that primary storage pool ARCHIVEPOOL is backed up to the copy storage pool RECOVERYPOOL.
To change the defaults, see Tailoring Schedules.
You can verify the details of what you have scheduled by using the QUERY SCHEDULE command. When you use the QUERY SCHEDULE command, you must specify the TYPE=ADMINISTRATIVE parameter to view an administrative command schedule. The following figure shows an example of a report that is displayed after you enter:
query schedule backup_archivepool type=administrative
+--------------------------------------------------------------------------------+ | * Schedule Name Start Date/Time Duration Period Day | | - ---------------- -------------------- -------- ------ --- | | BACKUP_ARCHIVE- 03/15/1998 14:08:11 1 H 1 D Any | | POOL | | | | | +--------------------------------------------------------------------------------+
You can check when the schedule is projected to run and whether it ran successfully by using the QUERY EVENT command. For information about querying events, see Querying Events.