Home        Products and Downloads        ChaosHost.com        Chaos University        Purchase        Contact Sales        Support

Knowledge Base Article #320967

How do I repair a damaged Telephone Book database?

While typically a rare occurrence, it is possible to damage any database file that is active when a task is ended prematurely or a system crashes. Should a Time & Chaos Phonebook database be damaged by a similar situation on your PC, we do have a repair tool built into Time & Chaos that might provide a better solution than restoring an old backup. It is best to have Time & Chaos 5.4.0 or newer to make the repairs, as some of the options you will see mentioned in this article are only available in these newer versions.

Before attempting a repair, you MUST make certain that you have a current backup of your data files (an option under the File menu on the main screen), and especially if you are on a network, you must make certain you are the only person using this database while you repair it.

If both of these items are covered, then you can start the two-step repair process. You will need to open the Telephone Book search and report screen to make the repairs. You can find a button that looks like a magnifying glass on the phonebook toolbar to take you to the Telephone Book Search screen.

Once the search screen opens, write down the record count at the top. This will be our target number for what we hope to find.

Step 1: Press ALT and F5 together. This will bring up a message to confirm a Map Rebuild operation. Click YES, then wait for a message asking you to Exit and Restart Time & Chaos. Once you see it, follow the instructions and exit out of Time & Chaos completely. Once Time & Chaos is closed, you can click on the short cut to start it again, then get back to the Telephone Book search screen.

Step 2: Press ALT and F12 together. This will bring up a message to confirm a Telephone Book Compaction/Rebuild operation. Click yes to start and you should see it begin to count as it finds any records that can be recovered.

Once complete, it will show you a message with the number of records it read and the number of records it was able to write. If these numbers match or are close, click YES to replace the damaged files with the rebuilt ones. If the numbers are not close, you can click NO to force it to take one last look for any other items it might find. After you have looked twice, the number of written records it comes back with will be the best it can do with these data files.

If the best number the repair can come back with is still not close to correct, there is one additional repair option for Telephone Book databases. Click CANCEL to the choice, then while still on the Telephone Book Search screen, press ALT-F9 to start a Telephone Recovery operation. This alternative method, in some cases, can find more records than the normal two-step process described above. Just as with the other method, it will come up with a count of records read and written. Depending on which method has the best number of written records, that would be the one to say YES to.

If these options are unable to repair your database to your satisfaction, there are a few final options for you. First, in the download section of our web site at www.ChaosSoftware.com, we have a Database Repair Utility, a free and small download. If you are unsure where your Time & Chaos database resides, open the data within Time & Chaos, click on File and Preferences and click the Use Current Folder button. Write down the path that appears there and click Cancel unless you want this database saved as a default.

Then, run the Database Repair Utility. You should see the icon for this on your desktop once the program is installed. Within the program, click the Browse button and browse to the database location. In the case of a phonebook for instance, you would browse to the ~phone file there but you could also browse to the ~appt or ~todo files for instance. Once selected, click on the Rebuild button. Let this process complete (a message should appear) and then click Reindex. Let that repair as many records as possible. When that process completes, close the Repair utility and restart Time & Chaos. When you come back up, check that your records do work correctly. If not, please let me know.

Finally, if this method is unable to repair the damage, your last option would be to restore an old backup copy of your data, either from a Time & Chaos backup or a backup you or a system administrator may have made outside of our program.

 

Keywords: damaged, rebuild, phone, telephone book, alt, f12, f5, reindex, repair, database, data, corrupt

Modified Date: 4/13/2016

wrt

 

Click here to return to the Tech Support search screen.

 

 

Copyright © 2026 Chaos Software Group, Inc.  -  All Rights Reserved

[ Home ] [ Products and Downloads ] [ ChaosHost.com ] [ Chaos University ] [ Mailing List ] [ Purchase ] [ Sales ] [ Support ] [ Privacy]