ADSM-L

Re: [ADSM-L] windows backup issue (vbs)

2009-02-10 10:24:51
Subject: Re: [ADSM-L] windows backup issue (vbs)
From: Bill Boyer <bjdboyer AT COMCAST DOT NET>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 10 Feb 2009 10:23:28 -0500
In the client schedule you need to get the object in quotes. Like

OBJECT='"C:\Program Files\Tivoli\TSM\baclient\c_win_test_bckp.cmd"' or use
the 8.3 naming

OBJECT='C:\Progra~1\Tivoli\TSM\baclient\c_win_test_bckp.cmd'

Without the extra quotes (") around the object, the TSM scheduler/Windows
isn't recognizing the filename with the blank in it. Hence the RC=1 which is
usually the object specified not found.

To get the 8.3 or Short name, issue a "dir c:\ /W" on the client. You'll get
the shortname for the "Program Files" directory.

Bill Boyer
"A penny saved is a government oversight." - ??

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
goc
Sent: Tuesday, February 10, 2009 9:44 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: windows backup issue (vbs)

hi all, interesting issue
client win2003 5.5.1
server aix 5.4

having 2 scripts

test.cmd
>
cscript c_win_test_bckp.vbs

and

c_win_test_bckp.vbs
>
Set objShell = WScript.CreateObject("WScript.Shell")
Set objExecObject = objShell.Exec("%comspec% /c dsmc inc 'C:\Program
Files\Tivoli\TSM\baclient\'"

running the *.cmd starts csscript and runs backup with no problems at all
but
running the same cmd via dsmcad tsm schedule fails immediately as it starts

it's difficult as former unix guy to get a catch on what really
happened because all
i get out

Executing scheduled command now.
10-02-2009 14:36:52
Executing Operating System command or script:
   C:\Program Files\Tivoli\TSM\baclient\c_win_test_bckp.cmd
10-02-2009 14:36:52 Finished command.  Return code is: 1
10-02-2009 14:36:52 ANS1909E The scheduled command failed.
10-02-2009 14:36:52 ANS1512E Scheduled event 'FS_BCKP_WIN_SCHED01'
failed.  Return code = 1.
10-02-2009 14:36:52 Sending results for scheduled event
'FS_BCKP_WIN_SCHED01'.
10-02-2009 14:36:52 Results sent to server for scheduled event
'FS_BCKP_WIN_SCHED01'.

i though permissions problem but apparently not, the scripts have
SYSTEM full access, dsmcad and dsmc sched
are running under system owner (or how it's called, remember unix)

any idea will be appreciated, thanks

//
goran




--

Garry Shandling  - "I'm dating a woman now who, evidently, is unaware of
it."

<Prev in Thread] Current Thread [Next in Thread>