Nothing to change here, back then I spent over a week studying and researching about file systems, backups and redundancy, and I’m really happy with what I chose. BRTFS still don’t seems to be a option, the only other software that I’m keeping an eye is bcacheFS, it appears to fit well my use case, I’m waiting to it get merged upstream to test it.
I’ll keep using SAMBA, but I like it to run inside a container to facilitate future migrations. This image (dperson/samba) worked really well, all I had to do was add it to my docker compose and disable the samba service on the HOST, all my clients connected to it without a problem.
With docker being phased out on multiple places in favor of podman, I considered migrating to it. But, podman it’s not on Ubuntu’s repository, and still lacks a tool like docker-compose. So I’ll keep using docker-ce + docker-compose for now.
I wanted to drop VirtualBox, although in the end I was always able to do what I want, managing my VMS, either through CLI or the Web GUI, was a pain the ass. Would like to migrate my VMS to KVM.
Created a ubuntu server VM on my machine, compiled snapraid and mergerFS, installed ZFS and docker. Just to see what I’ll be dealing with, no surprises there, was able to create a functional server in a couple of minutes.
Ok, next step: Backups! Created a snapshot of my docker volume. Copied all my configuration files (fstab, snapraid, scripts, etc.). Created a snapshot on home assistant OS.
And finally created a image of the whole system disk,
dd if=/dev/sdx of=myimage.img bs=1M
This way, if something goes wrong, I have the last resource to simple restore my working machine.
This was the installation of the new OS in a nutshell.
The whole process took about 3 hours, after solving the obligatory permissions issue, everything just worked.
I’m pretty happy with the system now, and anything that I would wanna change, its going to be pretty easy from here. Migrate from docker to podman, or look into kubernetes, isolate the hard drives in a machine separate from the containers, move the home assistant to a NUC, so many cool things to do.
Anyway, Ubuntu support ends in 2030, I have until then to think about that.