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?

  • ShredderFeederOPA
    link
    fedilink
    English
    arrow-up
    2
    ·
    24 hours ago

    I’m just running docker-compose on the truenas itself… bonus points is docker ps shows me the truenas apps as well as the ones I’ve created… Downside is, no GUI indication of the docker-compose stuff.

    I have a similar setup. 2x 250G hardware mirrored for boot, 4x 2TB SSD’s ZFS mirrored for apps, 12x 22TB Raid-Z2 for mostly static data (plex, etc) All in a single Dell PowerEdge R730 with 256G of ram and an RTX3050 in it, so I have plenty of room for apps and such.

    By today’s standards it’s an expensive setup, but I only paid $189/each for the 22T drives back when I built it, so it wasn’t so bad then.

    • DietCanesSauce@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 hours ago

      Damn that is a nice setup lol. I only built mine a couple years ago and only managed to get 5x 16TB drives at $169 each. I have 4 in the system and one cold spare.

      I have tended to avoid cli on TrueNas mostly out of fear that I’ll mess something up and I’ll be too lazy to fix it. That was my main motivation behind switching to Dockge for containers, it even shows apps running through other container management systems, although you can’t manage them through there.

      • ShredderFeederOPA
        link
        fedilink
        English
        arrow-up
        2
        ·
        22 hours ago

        Truenas is hardened enough that it’s pretty hard to screw it up… you can’t install packages or anything like that… My goal was to have one server that’s “Production” so that I can nuke the lab from time to time as needed. (I have a proxmox server, a VMWare server, and one that bounces back and forth between nutanix and whatever else I want to play with at the time…

        Also have another R730XD that I use for proxmox backup server, 6x 12TB drives (that were my nas drives before I got the 22TB upgrades) PBS is an amazing application, even when I’m not using the proxmox VM’s, the filesystem backups work like a champ, and it replicates backups to an NFS datastore in my other house (running on Truenas on a T630 under my desk)

        • DietCanesSauce@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          20 hours ago

          Yeah I am pretty comfortable with CLI on linux, but I just never bothered with TrueNas. Also I am lazy and once something works I just leave it there even when I could improve it lol.

          I have been meaning to venture into Proxmox as well but I don’t have the time or spare parts to get a new machine running atm. Maybe someday I’ll get around to it though as it seems like a nice playground without breaking things.