Jan,
This could be one of two things:
1. In the first query (/adsmquerydb), you are not specifying
an ADSM options file (/adsmoptfile), so it defaults
to using the "dsm.opt" file.
In the actual delete (/adsmdelete), you specify
"dsm_exch.opt" for the ADSM options file.
So your query is using one options file and your
delete is uing another. If this is really what you want,
make sure the options file is using the same
NODENAME and going to the same ADSM server.
2. If that doesn't clear it up, try specifying the
the Org, Site, and Server on the delete command.
Try the following command (all on one line of course):
excdsmc /adsmdelete:IS,19980811140313.FULL,BEKAERT.COMCEL.DCZ01S20
/adsmoptfile:c:\adsm32\agentexc\dsm_exch.opt
-------------------------
Del Hoobler
Del Hoobler
IBM ADSM Agent Development
hoobler AT us.ibm DOT com
=======================================================
>> Hello,
>>
>> I have the following problem.
>>
>> I'm trying to automatically delete old back-updatabase entries on our ADSM
>> back-uphost via a script.
>> However, I get "No subject on server match query"/. Wherease I run
>> ADSMquerydb which is returning the ADSM Objectname I enter to delete.
>>
>> I user the following commands:
>>
>> excdsmc /adsmquerydb
>>
>>
>> wicht returns (shortend list):
>>
>>
>> ADSTAR Distributed Storage Manager
>> ADSMConnect Agent for Microsoft Exchange Server
>> Command Line Interface - Version 1, Release 1, Level 0.0
>> (C) Copyright IBM Corporation 1998. All rights reserved.
>>
>> ***FIXTEST - Version 1.1.0.0 "A"
>>
>> ADSM API Version 3, Release 1, Level 3
>> ADSM Nodename: DCZEXCHG
>>
>> This is a "Try and Buy" license which has 28 days until expiration.
>>
>> Logging on to the ADSM server...
>>
>> DB Type Size Date Time ADSM Object Name Org.Site.Server
>> ----------------------------------------------------------------------------
>> ---
>> DIR Full 21M 08/11/1998 14:02:56 19980811140256.FULL
>> BEKAERT.COMCEL.DCZ01S20
>> DIR Incr 10M 08/11/1998 14:21:51 19980811142151.INCR
>> BEKAERT.COMCEL.DCZ01S20
>> DIR Incr 10M 08/12/1998 08:04:01 19980812080401.INCR
>> BEKAERT.COMCEL.DCZ01S20
>> DIR Incr 10M 08/12/1998 13:55:47 19980812135547.INCR
>> BEKAERT.COMCEL.DCZ01S20
>> DIR Incr 10M 08/12/1998 17:58:55 19980812175855.INCR
>> BEKAERT.COMCEL.DCZ01S20
>> IS Full 8M 08/11/1998 14:03:13 19980811140313.FULL
>> BEKAERT.COMCEL.DCZ01S20
>> IS Incr 10M 08/11/1998 14:21:57 19980811142157.INCR
>> BEKAERT.COMCEL.DCZ01S20
>> IS Incr 10M 08/12/1998 08:04:08 19980812080408.INCR
>> BEKAERT.COMCEL.DCZ01S20
>> IS Incr 10M 08/12/1998 13:55:54 19980812135554.INCR
>> BEKAERT.COMCEL.DCZ01S20
>>
>>
>> Therafter I enter:
>>
>> excdsmc /adsmdelete:IS,19980811140313.FULL
>> /adsmoptfile:c:\adsm32\agentexc\dsm_exch.opt
>>
>>
>> I get:
>>
>> ADSTAR Distributed Storage Manager
>> ADSMConnect Agent for Microsoft Exchange Server
>> Command Line Interface - Version 1, Release 1, Level 0.0
>> (C) Copyright IBM Corporation 1998. All rights reserved.
>>
>> ***FIXTEST - Version 1.1.0.0 "A"
>>
>> ADSM API Version 3, Release 1, Level 3
>> ADSM Nodename: DCZEXCHG
>>
>> This is a "Try and Buy" license which has 28 days until expiration.
>>
>> Starting a backup delete from the ADSM server...
>>
>> Exchange Server : DCZ01S20
>> Database : Information Store
>> Object Name : 19980811140313.FULL
>>
>> Logging on to the ADSM server...
>>
>> ANS1302E (RC2) No objects on server match query
>>
>>
>> What's wrong here?
>>
>> Who can help me with this?
>>
>>
>>
>> Kind regards,
>>
>> Jan
|