Subject | Database restore failure |
---|---|
Author | Rick Debay |
Post date | 2012-05-09T20:32:58Z |
A database restore failed. Does anyone know what these errors mean, and
what we can do to prevent this from happening again?
/* backup */
gbak -GARBAGE_COLLECT -b rxsaccessdb:accessrxs
/usr/backup/firebird/accessrxs.fbk
/* test restore */
gbak -v -se it-test:service_mgr -use_all_space -r
/opt/firebird/db/accessrxs.fbk /opt/firebird/db/accessrxs_3.fdb
/* selected log messages */
gbak: opened file /opt/firebird/db/accessrxs.fbk
gbak: transportable backup -- data in XDR format
gbak: backup file is compressed
gbak: created database /opt/firebird/db/accessrxs_3.fdb, page_size 8192
bytes
gbak: started transaction
gbak: restoring domain RDB$1482
...
gbak: restoring data for table RXS_DRUG_PRICE_HX
gbak: 10000 records restored
...
gbak: 47330000 records restored
gbak: adjusting an invalid decompression length from 78 to 73
gbak: 47333043 records restored
gbak: do not recognize table attribute 0 -- continuing
...
gbak: do not recognize table attribute 0 -- continuing
gbak: ERROR: string truncated
gbak: Exiting before completion due to errors
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.
what we can do to prevent this from happening again?
/* backup */
gbak -GARBAGE_COLLECT -b rxsaccessdb:accessrxs
/usr/backup/firebird/accessrxs.fbk
/* test restore */
gbak -v -se it-test:service_mgr -use_all_space -r
/opt/firebird/db/accessrxs.fbk /opt/firebird/db/accessrxs_3.fdb
/* selected log messages */
gbak: opened file /opt/firebird/db/accessrxs.fbk
gbak: transportable backup -- data in XDR format
gbak: backup file is compressed
gbak: created database /opt/firebird/db/accessrxs_3.fdb, page_size 8192
bytes
gbak: started transaction
gbak: restoring domain RDB$1482
...
gbak: restoring data for table RXS_DRUG_PRICE_HX
gbak: 10000 records restored
...
gbak: 47330000 records restored
gbak: adjusting an invalid decompression length from 78 to 73
gbak: 47333043 records restored
gbak: do not recognize table attribute 0 -- continuing
...
gbak: do not recognize table attribute 0 -- continuing
gbak: ERROR: string truncated
gbak: Exiting before completion due to errors
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.