Another backup story

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:

  1. cd /var/hammer
  2. cd var/[date of last good snapshot]/db/mysql
  3. 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.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)