Subject | FireBird Services Manager and concurrent tasks (backup/restore) |
---|---|
Author | benedicte_asselin |
Post date | 2005-05-16T13:32:54Z |
Hello,
I am looking at the API doc to use isc_service_start for database
backup/restore.
If I understand well, I can check if a task is already running using
the "current" service_handle (using isc_service_query and
isc_info_svc_running).
But, I would like to prevent my program from running several
tasks=backup/restore (in different service_handle) at the same time.
Mainly, I would like to avoid several backups of the *same* database.
Is there something I missed that could help ?
Am I right to assume the "isc_service_start" call is asynchronous ? I
cannot test it on a huge database for the moment to check manually.
We are using FB 1.5.
Regards,
Bénédicte
I am looking at the API doc to use isc_service_start for database
backup/restore.
If I understand well, I can check if a task is already running using
the "current" service_handle (using isc_service_query and
isc_info_svc_running).
But, I would like to prevent my program from running several
tasks=backup/restore (in different service_handle) at the same time.
Mainly, I would like to avoid several backups of the *same* database.
Is there something I missed that could help ?
Am I right to assume the "isc_service_start" call is asynchronous ? I
cannot test it on a huge database for the moment to check manually.
We are using FB 1.5.
Regards,
Bénédicte