after almost 15yrs my plex server is no more. jellyfin behind nginx with authentik is running very nicely.

  • CeeBee_Eh@lemmy.world
    cake
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    I can backup an entire VM snapshot very quickly and then restore it in a matter of minutes. Everything from the system files, database, Jellyfin version and configs, etc. All easily backed up and restored in an easy to manage bundle.

    A container is not as easy to manage in the same way.

    • TVA@thebrainbin.org
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      VMs can also be live migrated to another server in the cluster with no downtime and backups don’t need to take the VM down to do their thing. If in the future you want to move to physical hardware, you can use something like Clonezilla to back it up (not needed often, but still, something to consider).

      Both have their places, but those factors are the main ones that come into play of when I want to use a VM or LXC.

    • Moonrise2473@feddit.it
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 day ago

      How not?

      If a lxc container is in a btrfs subvolume or in a zfs dataset (those are created easily like a directory, it’s not a partition), you can do a full 1:1 copy in less than one second via a snapshot, keeping all the system files, database, version and configs

      • CeeBee_Eh@lemmy.world
        cake
        link
        fedilink
        English
        arrow-up
        2
        ·
        23 hours ago

        Sure, ZFS snapshots are dead simple and fast. But you’d need to ensure that each container and its volumes are created in each respective dataset.

        And none of this is implying that it’s hard. The top comment was criticizing OP for using VMs instead of containers. Neither one is better than the other for all use cases.

        I have a ton of VMs for various use cases, and some of those VMs are container/Docker hosts. Each tool where it works best.