As your prescheduledcmd script: !/usr/bin/ksh while [[ -s /path/lockfile ]] ; do sleep 30 done
Then just schedule the backup for a time shortly after the lockfile is created. It will wait until there is no lockfile, then start within 30 seconds of lockfile removal. Or you can add your commands to initiate the backup to the end of the event script. Alex Paschal Storage Administrator Freightliner, LLC (503) 745-6850 phone/vmail -----Original Message----- From: Ken Sedlacek [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 1:07 PM To: [EMAIL PROTECTED] Subject: TSM client schedule triggered by an event? To All: AIX 4.3.3 TSM server/client 3.7.3 We are backing up our Oracle dbs and AIX OS with TSM 3.7.3 (upgrading to 4.2 very soon!). We have been using server-prompted schedmode for the client for some 3 years now. No problems. We are investigating ways to make our backups more efficient and our DBA wants to trigger the client schedule from an event. The event is the completion of doing hotbackups of our Oracle dbs. The event script would create a lockfile during the Oracle hotbackups, and then remove the lockfile when the hotbackups are done. Is there a way to then trigger the client schedule based upon the removal of the lockfile? Your input is appreciated?? Ken Sedlacek AIX/TSM/UNIX Administrator [EMAIL PROTECTED] IBM Certified Specialist: RS/6000 AIX v4.3 Support; RS/6000 SP & PSSP 3 Tivoli Certified Consultant - Tivoli Storage Manager v4.1