On 24.09.2024 at 17:37, Vlad Khorsun wrote:
> [...]
>
> gbak:cannot commit index PK_XYZ
> gbak: ERROR:invalid database handle (no active connection)
> gbak: ERROR:action cancelled by trigger (3) to preserve data integrity
> gbak: ERROR: Cannot deactivate index used by a PRIMARY/UNIQUE constraint
> gbak:Exiting before completion due to errors
>
>
> Look at the firebird.log also, it should contain message(s):
>
> Failed to create worker attachment
Yes, it does. And additionally:
database /path/to/db shutdown
> Classic can't create additional worker attachments required to build
> indices as
> restoring database is in single-user shutdown mode. Thus it returns error
> and
> gbak seems not handle it properly. Register it at the tracker, please.
Done, #8263.
Thanks for sheding some light on the issue.
cheers
Tomasz