Author |
Message |
roreri Guest
|
Posted: Thu Sep 25, 2008 12:28 am Post subject: How to run a pre command and post command? |
|
|
Hi,
I need to run a command to shutdown a database before I do the sync. I will also need to start it back up after the sync has finished.
If I don't shutdown the database, the files will not copy and error out.
Can someone help here?
Thanks!
RoReRi |
|
Back to top |
|
|
roreri Guest
|
Posted: Thu Sep 25, 2008 1:33 am Post subject: Found it... now more questions. |
|
|
I need to do a "net stop proservice for 9.0d"
and a net stop "net start proservice for 9.0d"
How would I incorporate those commands in an script file?
Thanks,
RoReRi |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
Guest
|
Posted: Thu Sep 25, 2008 5:04 am Post subject: |
|
|
OK, I am taking your advice and loosing the net start and the net stop commands to close the database.
Now I just tried to use the VSS copy and it is grayed out. Why is that?
Is there something I need to check before I can use the VSS?
Thanks!
RoReRi |
|
Back to top |
|
|
Guest
|
Posted: Thu Sep 25, 2008 5:25 am Post subject: |
|
|
Oops... Never mind... I'm running Windows server 2000, that is the reason VSS is grayed out. Its not supported in Win Server 2K.
Thanks, I really like this product!
Now just to find out how I can make it work for me.
Thanks!
RoReRi |
|
Back to top |
|
|
|