Auto DB startup

mattk

Member
Hi there,

Is it possible to startup a single database through Procontrol using a batch file? We are using Progress 9.1e on Windows 2000 system and are trying to automate a shutdown of one database on an evening. We then overwrite it with the backup from a live database and start it back up.
We can get the shutdown to work using Proshut dbname -by and perform the restore through batch file but I cant work out how to get it restarted in Procontrol.
We have other 24/7 databases running on the same server so unfortunately I cant simply stop / start the service.
If anyone has any ideas then this would be much appreciated.

Thanks,

Matt
 

StuartT

Member
Why the necessity to start up using Procontrol, what is wrong with the simple proserve?

you would have:
proshut <dbname> -by
prorest <dbname> <backupfile>
proserve <dbname> -pf <pfname>
 
Top