Subject | Problem restoring test database |
---|---|
Author | Fabiano Bonin |
Post date | 2006-11-20T11:43:01Z |
Hi,
I'm making some tests on a database, changing system tables and other
non recomended things... To more precise, i am deleting all foreign
keys, primary keys and indices (in the right way) and changing the
domain of some fields in the system tables (ex: update
rdb$relation_fields set rdb$field_source = 'PS_DATA' where
rdb$field_name = 'DATA' and rdb$relation_name = 'FER1'). The domains
are always equal or larger in space compared to the original field
type.
After running the tests, i do a backup of the database and it runs fine:
gbak:writing SQL role: PSINIT4_TOOL
gbak:closing file, committing, and finishing. 774000640 bytes written
So i do a restore in a new file. In the end of the restore process, i get:
gbak: committing metadata
Segmentation fault
My questions are:
- Should i expect this kind of error with a valid backup file, that
was done without problems?
- What can cause this error, since the restore cycle went up to its
end without any kind of error?
Thanks.
I'm making some tests on a database, changing system tables and other
non recomended things... To more precise, i am deleting all foreign
keys, primary keys and indices (in the right way) and changing the
domain of some fields in the system tables (ex: update
rdb$relation_fields set rdb$field_source = 'PS_DATA' where
rdb$field_name = 'DATA' and rdb$relation_name = 'FER1'). The domains
are always equal or larger in space compared to the original field
type.
After running the tests, i do a backup of the database and it runs fine:
gbak:writing SQL role: PSINIT4_TOOL
gbak:closing file, committing, and finishing. 774000640 bytes written
So i do a restore in a new file. In the end of the restore process, i get:
gbak: committing metadata
Segmentation fault
My questions are:
- Should i expect this kind of error with a valid backup file, that
was done without problems?
- What can cause this error, since the restore cycle went up to its
end without any kind of error?
Thanks.