Subject | Re: Programmatically using GBAK |
---|---|
Author | stefanheymann |
Post date | 2006-03-27T15:33:56Z |
> This is the restore statement, I get the error as indicated below.(database
> c:\Program Files\Firebird\Firebird_1_5\bin\gbak -r -v -user SYSDBA -
> pas masterkey C:\Magus\FBDB\FRED.fbk C:\Magus\FBDB\FRED.fdb
>
> I got this error adding the y option
> gbak: opened file C:\Magus\FBDB\FRED.fbk
> gbak: ERROR: could not drop database C:\Magus\FBDB\FRED.fdb
> might be in use)Jack, in order to restore over an existing database you must combine
> gbak: Exiting before completion due to errors
both the -c and -r options.
HTH
Regards, Stefan