Subject RE: [firebird-support] Re: Attempting Recovery With Services API
Author Alan McDonald
> > 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.
>
> Thanks Milan and Alan:
>
> 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

do you know what shutdown does?
I'm pretty sure it's not what you think.
Alan