Guys, try this... Setup an environment variable called, say, BTYPE (use SET and SETX [NTRESKIT] to set the flag intra-session) Before each Incremental Backup check this var and run a full backup if it is FULL Before each Incremental Backup set this to FULL Call the backup as an external .cmd (this gives you control) If the backup fails, then errorlevel will be > 0 so don't reset the flag... If the backup succeeds, then errorlevel will be = 0 so reset the flag to, say, INCR
I have not got time to write and test the code, but the principle is all there. All the best Tony Morgan Fortis Bank London -----Original Message----- From: Del Hoobler [mailto:[EMAIL PROTECTED]] Sent: 21 June 2002 15:32 To: [EMAIL PROTECTED] Subject: Re: TDP for Exchange > Is there any way to know this in advance? The Exchange people schedule the > full backup once a week and incrementals for all other days. Now the backup > failed, so if we can find out in advance whether a full backup is required > we can start a full automatically instead of the incremental. > Do you know a way to do this in a script or batchfile or something? > Again, thank you for your answer! Eric, I am guessing you could run some sort of script that would parse the output and recognize the particular error that is displayed in this situtation, something like this: Unable to perform an incremental backup because a required Microsoft Exchange database log file could not be found. and redrive the "full" backup if it is detected. There is currently nothing built in to TDP for Exchange. Thanks, Del ---------------------------------------------------- Del Hoobler IBM Corporation [EMAIL PROTECTED] - Live your life as an exclamation, not an explanation. - Strive for excellence, not perfection. ============================================================ This e-mail and any files transmitted with it, are confidential and intended solely for the use of the addressee. The content of this e-mail may have been changed without the consent of the originator. The information supplied must be viewed in this context. If you have received this e-mail in error please notify our Helpdesk by telephone on +44 (0) 20-7444-8444. Any use, dissemination, forwarding, printing, or copying of this e-mail or its attachments is strictly prohibited.