Monday, 4 July 2016

[firebird-support] Database/Backup consistency check

 

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: "Steffen Heil (Mailinglisten)" <lists@steffen-heil.de>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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