Aside from the mysqldump stage specific to this server, this backup script only uses tools found in OpenBSD base. I thought it might be appropriate to post here, as I couldn’t find anything on /u/romanzolotarev’s site (which is where I’d normally expect to find this sort of thing).
Also, if anyone wants an account to write on the site itself, drop me a DM. I’ve set this up as an alternative to some of the other community writing platforms around. It uses writefreely on OpenBSD with OpenBSD.Amsterdam and it’s easy to export articles to move elsewhere. I thought it might be a nice compliment to the bsd.network Mastodon instance.