Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

How to run a pre command and post command?

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
roreri
Guest





PostPosted: Thu Sep 25, 2008 12:28 am    Post subject: How to run a pre command and post command? Reply with quote

Hi, Shocked

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? Question

Thanks!
RoReRi
Back to top
roreri
Guest





PostPosted: Thu Sep 25, 2008 1:33 am    Post subject: Found it... now more questions. Reply with quote

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

PostPosted: Thu Sep 25, 2008 2:31 am    Post subject: Reply with quote

Hello

You can try using VSS to copy files that are open: http://www.tgrmn.com/web/kb/item33.htm

If you still prefer to shutdown and restart the database, setup a batch script to run before comparison and one after, see http://www.tgrmn.com/web/kb/category10.htm

thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Guest






PostPosted: Thu Sep 25, 2008 5:04 am    Post subject: Reply with quote

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






PostPosted: Thu Sep 25, 2008 5:25 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: