As the Raspberry Pi 2 that was serving wireguard and pi-hole was already quite outdated and running now desupported Debian bullseye, I decided to upgrade my rig with a Raspberry Pi 5. Obviously the Pi5 is quite an overkill for these tasks which the Pi 2 already ran perfectly fine, so my plan was to upgrade the Nextcloud/WordPress/minidlna Server with the Pi/5 and move the Pi-Hole and Wireguard to the Pi4.
The first transtition went smooth, it just rewired to put the SD-card from 4gig Pi 4 to the shiny new 8gig Pi 5 and everything booted up fine. Also I have recognized a welcome performance boost from this in many usecases. The main difference is opening the keepers database I access via WebDAV from my android and several other devices. This is reduced to less than a second from felt 5 seconds on the Pi 4. Also many other things have received a welcomed speedup some of them I didnt even expect.
However, a bit more work was the pi-hole, as I needed to set up the of from scratch and install pi-hole and Wireguard. Setting up pi-hole was a breeze, its a oneliner that calls an install script. Thats it. After first login I just had to import all settings, block- and whilelists, DNS servers that I had previously exported DRM the pi 2 using teleporter. However, what I feared most was to migrate wireguard, which I then actually didnt. I instead installed pivpn and set up the wireguard server from scratch, which also required to update all (fortunately only a hand full) of client devices. This took me an hour or so.
After that I just had to resetup my backup solution. The pi 4 now does frequent backups to the USB HDD of the pi 5 which I had previously running similar on the pi 2. Also there I have found a way to speed that up by using pigz in the script instead of grip, taking advantage of all four cores for compression instead of only one. This is especially effective on the pi 5 which compresses its backup of the SD-card directly to the harddrive reducing the time consumed from aground 40 on the pi 4 with gzip to only about eight minutes now.
I will provide my backup scripts here at a later time.