


Power failures, hardware problems, or other factors can damage a YuleLog™
file. YuleLog provides two built-in mechanisms for restoring damaged databases:
AutoRepair and Recover. AutoRepair occurs when the file is opened. Recover is a
command you choose by opening YuleLog in a special way.
When the program discovers a damaged file, a dialog box will appear and tell
you the name of the damaged file. Once you know which file is damaged, you can
recover it.
To recover a damaged file on a Macintosh, double-click the YuleLog icon and
then press Option-Command while the file is opening. On Windows, double-click the
YuleLog icon and press Ctrl+Shift while the file is opening. Hold the keys
down until you see the Recover File dialog box. Select the damaged file from the
files in the YuleLog™ folder:
When a Recover is completed, a status dialog is displayed showing what was
done to the database during recovery. The dialog box shows:
A newly recovered database will take longer to open than a database that was
closed properly the last time it was used. This happens only the first time a
recovered database is opened and is the result of rebuilding various internal
structures that were deleted during recovery.
The most frequent cause of file damage occurs when YuleLog is not closed
properly. Another cause of problems with YuleLog databases is media failures (for
example, hard disks), where a file cannot be read by the file system.
Improperly closed files can occasionally cause damaged files.
A file is not closed properly when YuleLog is running and then:
Note In all of these cases, not only is the active file damaged by being improperly
closed, but so are all unlocked local files that may have been open at the
same time.
AutoRepair is run automatically, if necessary, when the database is opened. On
the other hand, Recover is a command you can use should the database require
more extensive repairs.
The underlying action of AutoRepair and Recover is to preserve as much of the
data as possible. In this context, data generically refers to records, layouts,
scripts, and field definitions. Non-essential data, such as the sort order, is
not recovered.
These utilities do not guarantee that the file has been completely repaired.
Therefore, after managing to get a damaged database to open, you should take
precautions, such as immediately saving a backup copy of the recovered database.
As a general rule, after a repaired or recovered database has been
successfully opened, the file should be checked for consistent content. This is especially
true if there was an active operation under way at the time of the shutdown.
If YuleLog is not able to recover a file using the above methods contact Todd
Ray at
Recovering Damaged Files