Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread How to trigger Server backup event from Admin module?
Thu, Feb 9 2006 6:55 PMPermanent Link

Kerry Neighbour
I have a V4.22 DBISAM server and admin module. I would like to trigger the
server backup event from the Admin program. How can I do that?


Kerry Neighbour
mailto:kneighbour@securedoc.com.au

Fri, Feb 10 2006 2:47 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Kerry,

<< I have a V4.22 DBISAM server and admin module. I would like to trigger
the server backup event from the Admin program. How can I do that? >>

You specifically have to code scheduled events in the database server source
code (dbsrvr.dpr).  You can find out information on how to do this here:

http://www.elevatesoft.com/dbisam4d5_customizing_engine.htm

After you have coded the scheduled event handler in the database server, you
can then schedule it using the Server Administration Utility.

--
Tim Young
Elevate Software
www.elevatesoft.com

Sun, Feb 12 2006 6:50 PMPermanent Link

Kerry Neighbour
I have no problem scheduling the events. The problem is TRIGGERING those
events manually. I have a backup event on the server that runs everyday (ie
the standard event that the demo server comes with), but it does not seem
to do anything. ie, there is an entry in the log that says it runs, but there
are no backup files. I want to debug the problem, but do not seem to be able
to trigger this backup event from the Admin module. Can I trigger it manually
- ie have a button that says "Run event now".


Hello Tim Young [Elevate Software],

> Kerry,
>
> << I have a V4.22 DBISAM server and admin module. I would like to
> trigger the server backup event from the Admin program. How can I do
> that? >>
>
> You specifically have to code scheduled events in the database server
> source code (dbsrvr.dpr).  You can find out information on how to do
> this here:
>
> http://www.elevatesoft.com/dbisam4d5_customizing_engine.htm
>
> After you have coded the scheduled event handler in the database
> server, you can then schedule it using the Server Administration
> Utility.
>
Kerry Neighbour

Mon, Feb 13 2006 11:24 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Kerry,

<< I have no problem scheduling the events. The problem is TRIGGERING those
events manually. I have a backup event on the server that runs everyday (ie
the standard event that the demo server comes with), but it does not seem to
do anything. ie, there is an entry in the log that says it runs, but there
are no backup files. I want to debug the problem, but do not seem to be able
to trigger this backup event from the Admin module. Can I trigger it
manually - ie have a button that says "Run event now". >>

Ahh, now I understand.  No, there isn't such a button, but you can simply
change the scheduling for it so that it runs within the next 10 minutes and
that will do the trick.  Once you're done debugging, you can set it back.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Feb 13 2006 4:38 PMPermanent Link

Kerry Neighbour
Well, that is ok as far as it goes, but it is a hard way to debug things.
Takes too long. And of course it is a good feature to add in any case.

So....back to the original question - is there a way to trigger a scheduled
event from the Admin module? Do I have to write a server procedure that calls
the event - then I call that server procedure from the Admin module?


> Ahh, now I understand.  No, there isn't such a button, but you can
> simply change the scheduling for it so that it runs within the next 10
> minutes and that will do the trick.  Once you're done debugging, you
> can set it back.

Tue, Feb 14 2006 1:41 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Kerry,

<< Well, that is ok as far as it goes, but it is a hard way to debug things.
Takes too long. And of course it is a good feature to add in any case. >>

It doesn't take long at all.  You can keep the SrvAdmin utility up the
entire time, and simply change it back and forth as needed.  I've done it
many times.

<< So....back to the original question - is there a way to trigger a
scheduled event from the Admin module? >>

I just answered that question.  You need to change the start time of the
scheduled event to Now+30 seconds, etc. and then save it.  That will cause
the scheduled event to be triggered.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Feb 15 2006 1:22 AMPermanent Link

Kerry Neighbour
>
> I just answered that question.  You need to change the start time of
> the scheduled event to Now+30 seconds, etc. and then save it.  That
> will cause the scheduled event to be triggered.

With respect, no you didn't. But I get the drift - I will give up on the
idea!

Wed, Feb 15 2006 11:25 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Kerry,

<< With respect, no you didn't. But I get the drift - I will give up on the
idea!  >>

You asked:

"Can I trigger it manually - ie have a button that says "Run event now"."

I replied:

"No, there isn't such a button, but you can simply change the scheduling for
it so that it runs within the next 10 minutes and that will do the trick.
Once you're done debugging, you can set it back"

10 minutes was simply thrown out as an example - you can set it to any time
that you wish, 10 seconds from now, 1 minute from now, 30 minutes from now,
etc. from now.  I apologize if this wasn't clear.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Mar 3 2006 10:52 AMPermanent Link

"David Farrell-Garcia"
Kerry Neighbour wrote:

> I have a V4.22 DBISAM server and admin module. I would like to
> trigger the server backup event from the Admin program. How can I do
> that?


Rather then try to call the scheduled event manually,which you can't
do, why not just modify the Admin Module adding a button that would
call a remote procedure directly that will do that backup?
Image