Subject Re: [firebird-support] Re: GBAK - Restore Failure from 1.5 on Linux
Author Alexandre Benson Smith
Helen Borrie wrote:
> 4) Furthermore, under Fb 2.0, using an Fb 2.0 client and the Fb 2.0
> gbak, you should not be able to proceed with the gbak -REP command if
> you have already attempted to restore the backup and have an existing
> file of the name provided to gbak in the database argument. Under Fb
> 2.0, the -REP switch resolves immediately to -C[reate_database] and
> should fail preemptorily if the named file exist. So here there are
> at least 2 possibilities: you're not actually looking at a newly
> restored database at all after your restore re-runs; or (once again)
> gbak is using an old Classic libfbembed.so.
>

Helen,

I did not follow the entire thread, so sorry if I am out of sync with
the thread.

AFAIK -R resolves to -C, -REP behaves exactly as -R on FB 1.5 in other
words.

-R on FB 2.0 refuses to continue if the file already exists
-REP on FB 2.0 delete and create a new file

Or I am missing something ?

see you !

--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br