So I’ve been self-hosting for a few years now…got a decent setup…
But I only really got into docker-compose in the last few months… I mean, I’ve used it through the “Apps” in TureNAS, but never directly…
I ran a mastodon host on a VM (giant pain in the ass) and a few other things that weren’t available as apps, but never mainstream…
Once I got into it, I managed to get everything moved over to truenas as docker containers…
Last week it saved my ass…the AC in the house failed…and I was able to shut down everything save the Truenas (with a fan pointed at the front of the server) and keep everything up and running throughout…
So it’s been helpful to know, and an awesome learning experience. (I’m happiest when I’m learning new things)
My question is this…
How do you back them up? I mean, I have snapshot backups of my docker-volume ZFS dataset, and replicate that to a remote host…but I’m not even sure I’d know how to recover it if I had to…is it just a file copy and restart?


Not a bad idea…I’ll have to make some network changes in the docker compose and build a new macvlan for it…but it should be easily addressable by IP address. I did to a test startup of my mastodon DB and that did seem to work…
And I should probably block outbound traffic just to be sure it’s not trying to update the fediverse…
Cool, now I know what I’m playing with tonight. :)