Sign in with
Sign up | Sign in
Your question

Can anyone write a simple batch file?

Last response: in Windows 2000/NT
Share
October 22, 2003 3:12:28 PM

when i do a backup using veritas we have a database program that stays open and doesnt backup. i would like to write a simple batch command to close the app and reopen it after backup completes. does anyone know how to do this? the app is called paradigm. there is an option under the advanced tab when you click active jobs in veritas that will allow this.

Welcome to hell. Here's your accordion.
October 23, 2003 7:14:23 AM

is it a system service or an actual app?

wpdclan.com cs game server - 69.12.5.119:27015
October 23, 2003 11:59:40 AM

paradigm is a fund raising database app. veritas, as you probably know is the tape backup app. whats happening is that the veritas backup skips over the paradigm database b/c it is "in use" (even if it isnt, just b/c its started on the server), so i want to add a batch command to veritas that will shut down the paradigm service/app when the backup starts and restart it when it finishes.

Welcome to hell. Here's your accordion.
Related resources
October 23, 2003 5:14:50 PM

try disabling the service for that program, if there is one. if disabling the service causes the data base to not be in use your gold. if not we need to find a way to terminate a proccess from a command line, im sure there is a way to do it, ive never had the need.

wpdclan.com cs game server - 69.12.5.119:27015
October 23, 2003 5:23:36 PM

well, if i stop that service, the app stops. i forgot to add that i leave at 3 and they work till 7. so i cant stop it. i wanted to have it stop at 9 for backup then restart on its own after backup completed. sorry, i forgot to mention that.

what im doing now isnt too bad, i added an entry in the "send to" menu for each day of the week and in the am i shut down the app, rt click the database and sent it to the respective folder that is being backed up. its a day behind, but thats ok. i just wanted to have veritas do all of it in case im not in to do that.

Welcome to hell. Here's your accordion.<P ID="edit"><FONT SIZE=-1><EM>Edited by tdean on 10/23/03 01:26 PM.</EM></FONT></P>
October 23, 2003 7:40:59 PM

you can make a batch file with this in it:
net stop "servicename"
and use the scheduler to run it at 7 or somthing, you might even be able to use veritas to run it before the backup job starts. then at 6 am or whatever time they get in schedule another batch file to run with:
net start "servicename"



wpdclan.com cs game server - 69.12.5.119:27015
October 24, 2003 1:34:51 PM

ok... thats what im lookin for. thanks. i copied the service name from services etc and put it into veritas, so we'll see how it goes. i'll let you know. thanks again!!!

Welcome to hell. Here's your accordion.
November 17, 2003 7:49:19 AM

Why don't you install the Open File Option from Veritas?

It's on the CD. Install the trial. Remote Option is more expensive than the Backup -Exec itself, but just see.

__
At this rate we'll all be going to hell. At least I'm flying there in bussiness class.
November 19, 2003 12:21:01 AM

i think i will do that. that things been actin wacky for a week.

Welcome to hell. Here's your accordion.
!