The Raspberry Pi 4 in my lab has been running since 2022: DNS filtering, a small web server, a monitoring stack, and at one point a Minecraft server that exactly two people used. It never complained. But SD card number three was starting to show errors, and I had a mini PC sitting next to it doing half the work anyway, so over the holidays I consolidated everything onto the PC.

The order of operations

Migrations fail when you move the thing everything else depends on first, so I went in dependency order:

  1. Backups first. A full restic snapshot of the Pi, verified, before touching anything.
  2. Containers. Most services were already Docker Compose projects, so moving them was rsync the project directory, adjust the volume paths, and docker compose up -d. Total time for six services: under an hour.
  3. DNS last, on a weekday evening. I lowered the TTL on the local zone the day before, moved the service, and kept the Pi running as a secondary for a week before shutting it down.

What broke

Exactly one thing: a cron job that used a hardcoded path to a script on the Pi’s SD card, which I found three days later when a report didn’t arrive. Lesson relearned: grep the old machine for your own username and the old hostname before you decommission it. There is always one more reference.

Was it worth it?

The mini PC idles at roughly the same wattage as the Pi under load, builds containers about ten times faster, and - the real luxury - has an actual SSD with room to spare. The Pi is not retired, though. It is now the offsite backup target at a relative’s house, which is a dignified second career for a computer that cost less than dinner for two.