One of today’s tasks: migrating an old Ubuntu server hosting around 15 WordPress...

@stefano@bsd.cafe

One of today’s tasks: migrating an old Ubuntu server hosting around 15 WordPress sites to a FreeBSD server, with Caddy acting as a reverse proxy in its own jail, one jail per WordPress instance, and a shared database in yet another jail.

Yesterday I configured Caddy to reverse proxy all the domains while still pointing to the old server. That allowed the customer to update the DNS records in advance, while I could migrate each site one by one and simply switch the upstream in Caddy as soon as it was ready.

Zero downtime. Just a reload.

I asked only for one thing: freeze everything this morning, so a colleague asked the customer not to make any changes to the websites after 7 today.

Ack.

So I go to clone one of the sites… and notice the customer published a totally deferrable post at 9.

Which, of course, means I now get to resync everything.

Ah, the joys of working "behind the scenes". 😆

#IT #SysAdmin #Ubuntu #FreeBSD #RunBSD #ITLife