Subject Re: [firebird-support] Problem with gbak restore/create in embedded 2.5
Author Thomas Steinmaurer
> Maybe someone can advise what I am doing wrong.
>
> I am trying to use gbak to restore a db in 2.5 embedded, but get errors.
> I copied gbak.exe from the 2.5 server\bin folder& pasted into c:\program Files\magus\
>
> If I run the gbak from the normal 2.5 server version I don't get any errors& the restore/create works
>
> This works against the server version, Play.fdb is created
> c:\Program Files\Firebird\\Firebird_2_5\bin\gbak -c -v -y c:\Magus\gbak.log –user SYSDBA –password masterkey c:\Magus\fbdb\ Empty_Magus\EmptySystem.fbk C:\ Magus\fbdb\PLAY.fdb
>
> This is against the embedded version, Play.fdb is not created
> c:\Program Files\ Magus\gbak -c -v -y c:\Magus\gbak.log" c:\Program Files\Magus\fbdb\Empty_Magus\EmptySystem.fbk C:\Program Files\Magus\fbdb\PLAY.fdb

Is this the real command-line usage? Because there is one double-quote
etc., so it looks like there are some "typos".

Basically, if there are spaces in the file name, then you have to
surround that with double-quotes.


--
With regards,
Thomas Steinmaurer

* Upscene Productions - Database Tools for Developers
http://www.upscene.com/

* My Blog
http://blog.upscene.com/thomas/index.php

* Firebird Foundation Committee Member
http://www.firebirdsql.org/en/firebird-foundation/