This is why backups are made on a fixed schedule, hourly if critical and daily if less critical. Backups should include all db AND indexes, even temp files.
Its been a long while since I've worked with Clipper. Index corruption is one of the reasons I stopped using it. Make a copy of the database that has the bad index to a dedicated machine. Use DBU or write a routine to check for the number of records WITHOUT indexing. Say you should have 20,000 records and the program shows only 11 records. Go to that record, skip to the next and use a hex editor to look at it. Many times its a bad header, but it also could be a missing field, or you may have garbage in the record or at the end of the record. Use the previous record as reference. Once you can CLEANLY "read" all the records, create all its indexes on your dedicated machine. You should have a "reindex" program in your toolkit, or its part of the program. Sorry, but you may also have to lose some records. Record all you can from those you junk. Replace the bad table and ALL its indexes with new ones from the dedicated machine.
.