Hi Bill, There is no domarc.log file when domarc.cmd is run from the TSM scheduler but it got created when i run it from the domino server and it is working fine.
This is the command i run to create the scheduler from the TSM: def sched dominopoldom dom_inactiveate desc="Domino transaction log archive" action=command object="d:\Program Files\Tivoli\TSM\domino\domarc.cmd" priority=2 start=2 starttime=5:00 duration=15 duru=minutes period=1 perunits=hours dayofweek=any and this is the command i used to create the scheduler in the domino server: dsmcutil inst /name:"Storage Manager Data Protection for Domino Archive Schedule" /node:lotus_temp /password:**** /autostar:yes /clientdir:"d:\program files\tivoli\tsm\baclient" /optfile:"d:\program files\tivoli\tsm\domino\dsm.opt" This is the output od dsmsched.log 08/26/2003 15:37:35 --- SCHEDULEREC QUERY BEGIN 08/26/2003 15:37:35 --- SCHEDULEREC QUERY END 08/26/2003 15:37:35 Next operation scheduled: 08/26/2003 15:37:35 ------------------------------------------------------------ 08/26/2003 15:37:35 Schedule Name: DOM_INACTIVEATE 08/26/2003 15:37:35 Action: Command 08/26/2003 15:37:35 Objects: d:\Program Files\Tivoli\TSM\domino\domina.cmd 08/26/2003 15:37:35 Options: 08/26/2003 15:37:35 Server Window Start: 16:12:00 on 08/26/2003 08/26/2003 15:37:35 ------------------------------------------------------------ 08/26/2003 15:37:35 Command will be executed in 36 minutes. 08/26/2003 16:13:36 Executing scheduled command now. 08/26/2003 16:13:36 Node Name: LOTUS_TEMP 08/26/2003 16:13:37 Session established with server TSM: AIX-RS/6000 08/26/2003 16:13:37 Server Version 5, Release 1, Level 5.0 08/26/2003 16:13:37 Server date/time: 08/26/2003 16:14:18 Last access: 08/26/2003 15:38 :16 08/26/2003 16:13:37 Executing Operating System command or script: d:\Program Files\Tivoli\TSM\domino\domina.cmd 08/26/2003 16:13:41 Finished command. Return code is: 1 08/26/2003 16:13:41 ANS1909E The scheduled command failed. 08/26/2003 16:13:41 ANS1512E Scheduled event 'DOM_INACTIVEATE' failed. Return code = 1. 08/26/2003 16:13:41 Sending results for scheduled event 'DOM_INACTIVEATE'. 08/26/2003 16:13:41 Results sent to server for scheduled event 'DOM_INACTIVEATE'. ----- Original Message ----- From: "Bill Smoldt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 3:34 PM Subject: Re: TDP for Domino archive log backup scheduler problem > Abdulaziz, > > Does the file "domarc.log" ever get created? If yes, you'll need to > provide it. If not, the scheduler can't find the command file. > > Do you have a separate scheduler set up for this TDP or are you trying to > use your node scheduler? In either case, look in the dsmsched.log (or > whatever you've named it) for more hints as to what isn't working. > > Bill Smoldt > STORServer, Inc. > > > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Behalf Of > Abdulaziz Almuammar > Sent: Tuesday, August 26, 2003 6:08 AM > To: [EMAIL PROTECTED] > Subject: TDP for Domino archive log backup scheduler problem > > > Hi Everyone, > > I have TDP for lotus Domino 5.1.5 on windows 2000 server. I am trying to > automate the backup by using the scheduler feature in TSM. > > The problem is that schedule failes every time it start. > > Could any one tell me why it failes although when I run the script from the > lotus server it works ? > > Is the problem related to the path of the files and non-system commands in > the script? if yes, how can I solve this problem when I have all Domino file > under D:\Program Files\Tivoli\TSM\domino > > This is the script for the transaction log archiving: > > > > @ECHO OFF > rem ================================================================== > rem Sample Command File - domarc.smp > rem > rem Sample command file containing commands to do a scheduled archive > rem of transaction logs to TSM storage. > rem > rem This file is meant to be executed by the TSM central scheduler > rem in response to a defined schedule on the TSM server. > rem > rem Complete paths must be given for all file names and non-system > rem commands. > rem > rem Copy this file to domarc.cmd and edit it to match your > rem local environment. > rem > rem ================================================================== > rem ================================================================== > rem Replace "X:" with the drive where the Domino Application Client > rem is installed. > rem ================================================================== > set dom_dir="D:\Program Files\Tivoli\TSM\domino" > cd /d %dom_dir% > rem ================================================================== > rem The 2 lines below put a date and time stamp in a log file for > rem you. > rem > rem Note: You can change "domarc.log" to whatever you prefer. > rem ================================================================== > echo Current date is: >> domarc.log > date /t < NUL >> domarc.log > echo Current time is: >> domarc.log > time /t < NUL >> domarc.log > rem ================================================================== > rem Now call the command line to do the archive of the logs: > rem > rem Note: You can change "domasch.log" to whatever you prefer. > rem ================================================================== > start /B domdsmc archivelog /adsmoptfile=dsm.opt /logfile=domasch.log >> > domarc.log > > > > Regards, > > Abdulaziz