ADSM-L

Re: ADSM/NT/SQL - how are you scheduling your backups?

1998-04-01 13:16:35
Subject: Re: ADSM/NT/SQL - how are you scheduling your backups?
From: Del Hoobler <hoobler AT US.IBM DOT COM>
Date: Wed, 1 Apr 1998 13:16:35 -0500
Mark,

I just tried your exact scenario...
If you are going to use the scheduler from
SQL Enterprise Manager, you should schedule a batch file to do your
backup as opposed to scheduling the actual command itself.
So, create a batch file that runs the sqldsmc command and then
create a scheduled task that calls the batch file. Here is the
batch file that I used to backup "PUBS" successfully:
(Call it SQLPUBS.BAT, for example:)
=======================================================
SET DSM_DIR=
SET DSM_CONFIG=
E:
CD \WIN32APP\IBM\ADSM\AGENTSQL
SQLDSMC /BACKUPFULL:PUBS /LOGFILE:SQLDSM.LOG /ADSMOPTFILE:DSM.OPT
==============================================
(Note that the entries after DSM_DIR and
DSM_CONFIG are blank)

Then, under the "Command:" for the Task:

    E:\WIN32APP\IBM\ADSM\AGENTSQL\SQLPUBS.BAT

I hope this helps.
Let me know if it doesn't.

Del Hoobler
ADSM Agent Development
IBM Corporation

>>
>>         Thanks again for your help!

>> Mark L. Evans
>> MEvans AT co.slc.ut DOT us
>> Network Administrator
>> Salt Lake County Information Services