Subject Re: gbak -c with existing database
Author blescouet
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@...> wrote:
>
> Looks like a bug - though it only seems to affect a restore done
> locally, i.e. without the service manager.
It seems more complicated. I've made the same test on my computer :

>
>
> C:\Program Files\Firebird\Firebird_1_5\bin>gbak -c -se
> localhost:service_mgr l:\
> data\examples\employee.fbk L:\data\examples\employee.fdb -user helen
> -password helen
> gbak: ERROR: database L:\data\examples\employee.fdb already
> exists. To replace it, use the -R switch
> gbak: Exiting before completion due to errors
> (as expected)
> C:\Program Files\Firebird\Firebird_1_5\bin>

C:\donnees\k\DataJes\Firebird>gbak -c -v -se localhost:service_mgr
-user JVCS -password JVCS "C:\donnees\k\DataJes\Firebird\mwfbtest.fbk"
"C:\donnees\k\DataJes\Firebird\bidule.fdb"
[...]
gbak: finishing, closing, and going home

C:\donnees\k\DataJes\Firebird>
(**** Not as expected ****)

B.L.