Hi,
I'm trying to add the backup and restore environments in my application, but I have some doubts:
My application is a Windows Service and I use the Firebird 2.1.3 embbeded. The user configures a schedule to start the backup, and the program can't be closed while the backup is running.
I see that backup and restore components works when I call the StartService method, but don't have events to retrieve the backup state, like OnFinished.
The process run in a separate thread? How I can check if the backup is finished?
Backup and restore
Add the following code for the OnClose event of TForm:
Code: Select all
while IBCBackupService.IsServiceRunning do
begin
end;