Subject | Re: Attempting Recovery With Services API |
---|---|
Author | inoffensive_2009 |
Post date | 2008-11-22T06:23:49Z |
--- In firebird-support@yahoogroups.com, Milan Babuskov <milanb@...>
wrote:
Disconnect!
Yikes!
That's what was causing my problems, I forgot to disconnect!
In order to make my backup function work on embedded and
client-server environments, I'll keep the shutdown.
Thanks for showing me my mistake.
Larry
wrote:
>Thanks Milan and Alan:
> inoffensive_2009 wrote:
> > Firebird 2.1.1 Embedded, recient IBPP.
> >
> > I'm a big fan of IBPP, but for reasons I don't understand I can't
> > get any traction with it when the task is recovering a database.
> >
> > Oliver spelled it out for me:
> >
> > svc = ServiceFactory()
> > svc->Connect()
> > svc->shutdown()
> > svc->StartRestore)
> > svc->Disconnect()
>
> No need to shutdown the embedded. Just disconnect from database and
> you'll be fine.
Disconnect!
Yikes!
That's what was causing my problems, I forgot to disconnect!
In order to make my backup function work on embedded and
client-server environments, I'll keep the shutdown.
Thanks for showing me my mistake.
Larry