The third option is the best.
If you can create now a backup and no errors are shown, and you can restore it to a new host with a reliable HD, and no errors are show, you can be sure that it is ok.
Aldo Caruso
Hi
I have a database on a hard drive which is failing. The hard drive already has some bad sectors and we are about to replace it.
Now I have a backup of that database created with gbak that I could use. However I am not sure if the hard drive was still fine, when the backup was created.
On the other hand, I can right now access the database just fine and I could try to simply copy it.
As third option I could create a new backup to external media right now.
Now my questions:
- Is there any way to check a copied database file for corruption? If the file copy works without error (no file system I/O error) can I be sure or is there a command to be sure, if the file is completely intact?
- If I restore the backup and gbak does not report an error, can I be sure that everything is okay?
- If I create a new backup and gbak does not report an error, can I be sure that the new backup is okay?
There used to be a checksum in the page header, but IIRC that field was abandoned.
Then again I am still at 2.0.4...
Regards,
Steffen
[Non-text portions of this message have been removed]
Posted by: Aldo Caruso <aldo.caruso@argencasas.com>
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu. Try FAQ and other links from the left-side menu there.
Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
No comments:
Post a Comment