Thread View: borland.public.interbase.replication
1 messages
1 total messages
Started by John Reynolds
Thu, 04 Mar 2004 21:35
IBReplicator API
Author: John Reynolds
Date: Thu, 04 Mar 2004 21:35
Date: Thu, 04 Mar 2004 21:35
25 lines
1881 bytes
1881 bytes
Hi, Is there a way to control the IBReplicator via a Delphi app ? I have IB 7.1 and Delphi 7. I've searched around but came up empty. I have a DB app that requires archiving the .GDB file at the end of the month. The archive DB must still be online. The steps involved are: 1) Stop adding data to the current DB. 2) Wait until the REPL_LOG table is empty, signifying all data has been replicated. 3) Stop the Repl service. 4) Copy the current DB, giving it an archive name. 5) Empty the data table in the current DB. The Repl service is setup to run every 15 mins. I would like to change this to 1 sec, restart the Repl service, then wait until the REPL_LOG empties, then set the back to 15 mins. I can start and stop IBREPL using the NT API but don't know how to reconfigure the Repl params programmatically . Where does IBRepl store its Interval value ? I've monitored the IBReplService.exe file and registry access while starting, but can't find where it's getting it. Is there an easier way to do this ? Thanks for any input, John
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads