Subject | Problem with gbak restore/create in embedded 2.5 |
---|---|
Author | Jack Mills |
Post date | 2011-12-12T13:13:16Z |
Hi
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
Contents of gbak.log
gbak: ERROR:multiple sources or destinations specified
gbak:Exiting before completion due to errors
using windows xp & C++ builder to develop the app.
Jack
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
Contents of gbak.log
gbak: ERROR:multiple sources or destinations specified
gbak:Exiting before completion due to errors
using windows xp & C++ builder to develop the app.
Jack