Every few years, something happens and Hammer’s snapshotting saves me. Last week, this host had a power outage and MySQL managed to mangle the WordPress database for this site. Fixing it needed only:
- cd /var/hammer
- cd var/[date of last good snapshot]/db/mysql
- cpdup -VV -v . /var/db/mysql
I am writing this down in part because I am sure I’ll need it again in a few years.
