Subject | RE: [firebird-support] Cannot perform backup when Firebird runs as a Service |
---|---|
Author | Nigel Weeks |
Post date | 2006-05-28T23:15:37Z |
>AFAIK, this is correct behaviour.
> When I run Firebird v1.5 as a service the following error
> occurs during
> backup:
> "C:\Program Files\Firebird\bin\gbak" -b -user bla -pass
> blabla "C:\Track+\Database\TRACK.GDB" c:\Temp\TRACK.GBK
> gbak: ERROR: unavailable database
> gbak: Exiting before completion due to errors
>
> The same backup command succeeds when I switch to application mode.
> I work on Windows 2003 Server.
>
It stops you shooting yourself in the foot.
Use the tcp/ip server rather than direct file access(put 'localhost' at the
front):
"localhost:c:\Track+\Database\TRACK.GDB"
Also, rename your database from .GDB to .FDB - you won't hit problems with
System Restore if you move/sell your application to/for Win XP/2003
machines.
N.