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?

  • Jason2357@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    17 hours 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.

    • ShredderFeeder@shredderfood.netOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      16 hours ago

      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.