During the Covid years, I let my blog lapse and eventually deactivated the site. At the time, I wasn’t sure whether I would bring it back, but I kept a backup of the WordPress SQL database just in case. That decision proved useful when I recently decided to restore the blog.
Restoring the Old Content
With the original WordPress database backup in hand, the next step was getting access to the posts. Rather than setting up a full WordPress environment, I used a Docker-hosted MySQL database to load the backup. Once restored, I extracted the pages and posts and converted them into Markdown files for use with Hugo. I had played with Hugo long ago, but had not used it for my blog until now.