Subject | Re: [firebird-support] lost of FK ...why? |
---|---|
Author | Lucas Franzen |
Post date | 2005-06-15T21:43:40Z |
Alberto,
Alberto Pesce schrieb:
The source of the problem can't be the lost parents at this point since
backup doesn't care about them, you will notice when trying to restore
the database from this backup.
The only time I had a problem like this was back in times of IB5.6 when
there were problems with the server and power failures while
ForcedWrites was off.
can delete these orphaned records by sql - which won't solve your
problems but it still seems to better than editing in a sql file...
Luc.
Alberto Pesce schrieb:
> Well, when I find this situations I do:How do you do this backup, which options do you use?
>
> 1. Backup my db in a file .gdk but this don't finish correctly
The source of the problem can't be the lost parents at this point since
backup doesn't care about them, you will notice when trying to restore
the database from this backup.
The only time I had a problem like this was back in times of IB5.6 when
there were problems with the server and power failures while
ForcedWrites was off.
> 2. So I Extract Metadata with schema and data in a file (very big file .sql)As soon as you can backup the database but aren't able to restore it you
> 3. I try to Execute this and I obtain the line which cause violation of FK
> 4. I correct with a editor of text
can delete these orphaned records by sql - which won't solve your
problems but it still seems to better than editing in a sql file...
Luc.