Mint is an extensible, self-hosted web site analytics program. Its interface is an exercise in simplicity. Visits, referrers, popular pages and searches can all be taken in at a glance on Mint’s flexible dashboard. But today this lovely PHP program wiped out the database for the last 12 months. Now we are figuring out how to magically restore it all.