Repair $ZEN_HOME/`database`

I accidentally overwrite the files in the $ZEN_HOME/database directory, how to fix it?

Could we have some context on what you are doing?

Spencer