Subject | Calling GBAK from my app |
---|---|
Author | Joe Martinez |
Post date | 2002-04-04T22:28:58Z |
I'm working on adding a backup command to my application, and as far as
I know, the only way to do so is to make a call to the command like
utility GBAK. I'm not too wild about this, but I guess I don't have
much other choice. It would be great if IB/FB (and in turn IBObjects)
had a backup API/component.
Anyway, here's my immediate problem:
How does my application know where to find GBAK.EXE? It doesn't have
any knowledge of where it is, and the Firebird Bin directory isn't
automatically added to the system path when FB is installed, so it's
necessary to specify the exact path to call it. How have others done
it?
Any other tips/pointers/cautions about doing this?
Thanks,
Joe
I know, the only way to do so is to make a call to the command like
utility GBAK. I'm not too wild about this, but I guess I don't have
much other choice. It would be great if IB/FB (and in turn IBObjects)
had a backup API/component.
Anyway, here's my immediate problem:
How does my application know where to find GBAK.EXE? It doesn't have
any knowledge of where it is, and the Firebird Bin directory isn't
automatically added to the system path when FB is installed, so it's
necessary to specify the exact path to call it. How have others done
it?
Any other tips/pointers/cautions about doing this?
Thanks,
Joe