Question.

  • lemmyng@lemmy.ca
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    3
    ·
    2 months ago

    The container is reproducible. Container configuration is in version control. That leaves you with the volumes mounted into the container, which you back up like any other disk.

    • pixxelkick@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      2 months ago

      Dunno why ppl are down voting you, this is 100% the way.

      Architecture as code is amazing, being able to completely wipe your server, re-install fresh, and turn it on and it goes right back to how it was is awesome.

      GitOps version controlled architecture is easy to maintain, easy to rollback, and easy to modify.

      I use k8s for my entire homelab, it has some initial learning curve but once you “get it” and have working configs on github, it becomes so trivial to add more stuff to it, scale it up, etc.