Re: [ADSM-L] prescheduled postcheduled commands help
2007-08-22 10:49:24
Hi,
You can have PRESCHEDULECMD i POSTSCHEDULECMD option in any place of the file.
I put them on the end:
[...]
MANAGEDSERVICES WEBCLIENT SCHEDULE
PRESCHEDULECMD "C:\WINDOWS\SYSTEM32\cmd.exe /C
c:\Progra~1\Tivoli\TSM\scripts\pre_backup.bat"
POSTSCHEDULECMD "C:\WINDOWS\SYSTEM32\cmd.exe /C
c:\Progra~1\Tivoli\TSM\scripts\post_backup.bat"
Scripts pre_backup.bat and post_backup.bat contains comands:
NET START service_name or NET STOP service_name
Hint :) use short version of path (Progra~1 instead of "Program Files") in
P*SCHEDULECMD options, otherwise schedule will fail.
Regards,
Jakub
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Timothy Hughes
Sent: Wednesday, August 22, 2007 4:05 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: [ADSM-L] prescheduled postcheduled commands help
Hello,
I need to stop two services before the incremental backup runs then restart the
services once the backup completes. I know about the prescheduled and
postscheduled commands but have never used them. Where do I insert the commands
in dsm.opt file for this to excute successfully? The following are the two
services that need to be stopped then restarted once backup completes can
someone tell me where I would put in the dsm.opt file?
The dsm.opt file is below also.
1)Update Services
2) World Wide Web Publishing Service
Thanks in advance for any help!
TSM 5.3
TSM 5.3.4
AIX 5.3
LANG AMENG
DOMAIN ALL-LOCAL
TCPSERVERADDRESS xxxx.xxx.xxxxxx.xx
PASSWORDACCESS GENERATE
TCPCLIENTADDRESS xx.xx.xx.xx
NODENAME OFSWTUS1
subdir yes
replace prompt
tcpb 32
tcpw 63
SCHEDMODE PROMPTED
txnbytelimit 25600
errorlogname c:\progra~1\tivoli\tsm\baclient\dsmerror.log
SCHEDlogname c:\progra~1\tivoli\tsm\baclient\dsmsched.log
errorlogretention 14
schedlogretention 7
tcpnodelay yes
resourceutilization 3
LARGECOMMbuffers yes
CHANGINGRETRIES 2
COMPRESSIon Yes
BACKUPREG YES
MANAGEDSERVICES WEBCLIENT SCHEDULE
|
|
|