Subject Re: [ib-support] Firebird v1.0 and gbak
Author Claudio Valderrama C.
""threedzsquared"" <msimmons@...> wrote in message
> I hope I'm not exposing my ignorance when I ask the following. Just
> installed Firebird v1.0. Was running IB 5.6.
> I backed up my database with the -t switch to backup using
> transportable
> format.

Before dropping IB5.6, did you try to restore with it? Testing a backup is a
good way to avoid later surprises.

> Tried to restore this way...
> gbak -r -p 4196 e:\fbdb\stars\stars.gbk e:\fbdb\stars\stars.gdb -USER
> SYSDBA -PASSWORD ******* -v
> and I get the following....
> gbak: opened file e:\ibdb\stars\stars.gbk
> gbak: transportable backup -- data in XDR format
> gbak: backup file is compressed
> gbak: created database e:\fbdb\stars\stars.gdb, page_size 4196 bytes
> gbak: started transaction
> gbak: restoring domain BLOBFIELD
> gbak: restoring domain CREATEDTE
> gbak: ERROR: wrong DYN version
> gbak: ERROR: gds_$create_blob_failed
> gbak: Exiting before completion due to errors

That's near to impossible, but it happened. There's only one version of DYN,
gds__dyn_version_1 so if this is the message, I know what it means: the DYN
string was created with an incorrect sequence. This is metadata definition
in the form of a stream of commands.

I would try to restore on some IB5.6 and if it goes well, we have to take a
look at your gbk file and trace the gbak executable.

Claudio Valderrama C. - -
Independent developer
Owner of the Interbase® WebRing