Test it, find out.
Comment on Docker, Truenas, and self-hosting...
ShredderFeeder@shredderfood.net 3 weeks ago I have another container running the proxmox backup client that does a filesystem dump daily… Not bad, but I think postgres may not recover from that…
Right now 2 weeks of daily replicated snapshots are probably as good as I’m going to get…
frongt@lemmy.zip 3 weeks ago
ShredderFeeder@shredderfood.net 3 weeks ago Well that worked… Amaze! I copied the lemmy directory to my user directory, made the necessary changes in docker-compose, and boom, it came up. If I were to script the changes using sed, I could even have a full DR failover.
ShredderFeeder@shredderfood.net 3 weeks ago 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. :)
Jason2357@lemmy.ca 3 weeks ago
Works fine… Most of the time. As long as the file gets saved at an instant in time (e.g. zfs snapshot), postgres sees it like a power failure and restores. You want to have several recent backups if you do this because it will occasionally fail.
Saw an article that says proxmox backup client can be set up to be ZFS aware…will have to do more reading… (for backups)
Replication is always a point in time, and I keep two weeks worth of dailies.