Subject Re: backup is corrupt
Author mk_delphi
Try this:

gbak -c -v -i -n -k mydb.gbk mydb.fdb


Marco Kregar
marco.kregar@...
www.firebirdsql.it


--- In firebird-support@yahoogroups.com, "Richard" <rad@e...> wrote:
> What ca i do if a backup is corrupt und restore doesn't work. gbak
> aborts with:
> gbak: restoring data for table KAS_BON
> gbak: 10000 records restored
> gbak: 20000 records restored
> gbak: adjusting an invalid decompression length from 121 to 109
> gbak: committing data for table KAS_BON
> gbak: 28268 records restored
> ...
> gbak: do not recognize table attribute 0 -- continuing
> gbak: ERROR: attempt to store duplicate value (visible to active
> transactions) i
> n unique index "RDB$INDEX_11"
> gbak: Exiting before completion due to errors
>
> sometimes it aborts at:
> gbak: adjusting an invalid decompression length from 121 to 109
>
> i get an access vialoation and i have to restart Interbase-Server.
>
> It's on both versions fb 1.0 and 1.5.
>
> any help?
>
> richard