Subject | Re: Is This Database Running As Embedded Server or Client Server? |
---|---|
Author | inoffensive_2009 |
Post date | 2009-09-24T12:50:41Z |
--- In firebird-support@yahoogroups.com, Milan Babuskov <milanb@...> wrote:
I commented out the svc->Shutdown() function call, and the recovery seems to work fine with the app using embedded Firebird and another app running client server. This was a server on localhost, I'll check it out on a server running on a remote host later.
So I guess I'll just leave it commented out.
Milan and Martijn, as I've told you both before, I appreciate your advice.
It's almost 6:00 in the morning here on the West coast of the US, so I'm going to hit the sheets. I'll check back after I wake up.
Thanks
Larry
>Thanks Milan:
> inoffensive_2009 wrote:
> >>> This utility needs to know if it's running embedded, so it won't run
> >>> svc->Shutdown().
> > My typo. It's the recover utility, not the backup.
>
> "Recover" as in "Restore" ?
>
> You don't need to shutdown the service to restore a database. Just close
> the attachment to the database and restore it.
I commented out the svc->Shutdown() function call, and the recovery seems to work fine with the app using embedded Firebird and another app running client server. This was a server on localhost, I'll check it out on a server running on a remote host later.
So I guess I'll just leave it commented out.
Milan and Martijn, as I've told you both before, I appreciate your advice.
It's almost 6:00 in the morning here on the West coast of the US, so I'm going to hit the sheets. I'll check back after I wake up.
Thanks
Larry