Re: [firebase-br] ERRO no restore com Firebird 4/5 - could not start batch when restoring table

Armando Boza Gonçalves via lista <[email protected]>
Newsgroups gmane.comp.db.firebase.portuguese
Message-ID <[email protected]>
Se não me engano a palavra LOCAL agora é reservada, não pode ser utilizada.

Em 07/02/2024 14:18, angelobp--- via lista escreveu:
> Boa tarde a todos !
>
>   
>
> Estou com um erro de restore que não consigo descobrir qual é o problema.
>
> Se alguém já passou por isto ou poderia me dar uma dica de como corrigir...
>
>   
>
> - Tenho um banco Firebird 2.5;
>
>   
>
> - Gerei um GBAK deste banco para poder restaurar em outra versão;
>
>   
>
> - Restore em Firebird 3 funciona sem problemas, tudo OK;
>
>   
>
> - Restore em Firebird 4 acusa erro durante o processo, mas o restore vai até
> o final;
>
>                  > ERRO “gbak:could not start batch when restoring table
> LOCAL, trying old way”
>
>   
>
> - Restore em Firebird 5 acusa erro durante o processo, mas o restore vai até
> o final;
>
>                  > ERRO “gbak:could not start batch when restoring table
> LOCAL, trying old way”
>
>   
>
> Nestes bancos restaurados com erro, ao tentar fazer um SELECT da tabela
> “LOCAL” é apresentado o erro
>
> “Invalid token. Dynamic SQL Error. SQL error code = -104. Token unknown -
> line 1, column 15. LOCAL.”
>
>   
>
> ...
>
>   
>
> Parte do LOG com o erro:
>
> gbak:    restoring index FK_MARCAS_GRU
>
> gbak:re storing data for table MARCAS
>
> gbak:   7 records restored
>
> gbak:    restoring index RDB$PRIMARY62
>
> gbak:could not start batch when restoring table LOCAL, trying old way
>
> gbak:restoring data for table LOCAL
>
> gbak:   2 records restored
>
> gbak:    restoring index RDB$61
>
> gbak:    restoring index RDB$FOREIGN277
>
> gbak:    restoring index RDB$FOREIGN278
>
> gbak:    restoring index RDB$60
>
> gbak:    restoring index RDB$FOREIGN279
>
> gbak:    restoring index RDB$FOREIGN280
>
> gbak:restoring data for table LISTPD
>
> gbak:   111 records restored
>
>   
>
> Parte final do LOG:
>
> gbak:    activating and creating deferred index RDB$FOREIGN176
>
> gbak:    activating and creating deferred index RDB$FOREIGN173
>
> gbak:    activating and creating deferred index RDB$FOREIGN174
>
> gbak:    activating and creating deferred index RDB$FOREIGN338
>
> gbak:adjusting views dbkey length
>
> gbak:updating ownership of packages, procedures and tables
>
> gbak:adding missing privileges
>
> gbak:adjusting system generators
>
> gbak:finishing, closing, and going home
>
> gbak:adjusting the ONLINE and FORCED WRITES flags
>
>   
>
> Desde já agradeço a ajuda,
>
>   
>
> Ângelo.
>
>   
>
> ______________________________________________
> FireBase-BR (www.firebase.com.br) - Hospedado em www.locador.com.br
> Para saber como gerenciar/excluir seu cadastro na lista, use: http://www.firebase.com.br/fb/artigo.php?id=1107
> Para consultar mensagens antigas: http://www.firebase.com.br/pesquisa_lista.html

______________________________________________
FireBase-BR (www.firebase.com.br) - Hospedado em www.locador.com.br
Para saber como gerenciar/excluir seu cadastro na lista, use: http://www.firebase.com.br/fb/artigo.php?id=1107
Para consultar mensagens antigas: http://www.firebase.com.br/pesquisa_lista.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.