Subject Re: [firebird-support] Remote DB Backup
Author Helen Borrie
At 09:10 AM 7/07/2007, you wrote:
>Thanks, Helen.
>I was able to get permissions on a path that the
>system's web server could reach, and collect the
>backup that way...
>Can you direct me to the Services API so I can look
>into writing a process that will backup to a local
>systme, rather than only on the server? This will be
>rather important to us going forward, and I'd be happy
>to push the code back if others think it beneficial.

I recommend that you ask on the firebird-devel list for some pointers
to docs about the Services API. The reason is that Borland
originally did not release the sources for it, although it did come
through later. As far as I know, really the headers (ibase.h in your
/include directory) and the actual source code would be your main
legal source of information for rolling your own code.

You could also consult open source code that has been written by
others as wrappers for the Services API, e.g. IBPP.

If you have access to the InterBase 7 documentation, that would be
helpful, as the APIGuide volume has a section on developing with the
Services API...there would be people in firebird-devel who could
steer you in the right direction where Firebird has implemented changes...

And make sure that you actually NEED to reinvent the wheel. Most
driver and data access layers have wrappers for most or all of the
Services API functions.