ADSM-L

Re: TSM Basic Bat files

2001-05-10 12:21:33
Subject: Re: TSM Basic Bat files
From: Thomas Denier <Thomas.Denier AT MAIL.TJU DOT EDU>
Date: Thu, 10 May 2001 12:22:05 -0400
Quoting Tim Delaney <TDelaney AT ENTRECS DOT COM>:

> I have created a basic BAT file to launch my daily backup. This file
> seems
> to work fine when I launch it myself. However the NT scheduler service
> will
> not launch it at all. Any sample bat files available?
>
> Daily.bat
> c:
> cd tivoli\tsm\baclient
> dsmc incremental
> exit

The cd command looks suspicious. I would expect the script to work if
it was run from the parent of the tivoli folder ("c:\Program files" if
you accepted the installation default) or from the baclient folder.
I would expect the script to fail if run from any other folder.
If you want the script to work with no assumptions about the initial
current folder, I would suggest:

cd \program files\tivoli\tsm\baclient

(assuming you accepted the installation default for the location of
the TSM code).
<Prev in Thread] Current Thread [Next in Thread>