I currently use an Ubuntu distro (Mint) with Plex installed serving media to my local network. I installed docker last night so I can test out some photo hosting services.

Is there a benefit to running Plex through docker vs the traditional method?

  • UntouchedWagons@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    Docker containers are easier to backup and restore since the config folder is easily accessible. Also if your plex server is accessible to the internet it will be harder for hackers to take it over if there’s any possible exploits.

    • FeminalPanda@lemmings.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Plex is the last thing I don’t have in docker. Will be my next task … maybe. I still want to get rid of my friends windows 10 box running 1 windows only app

      • Yoruio@lemmy.caM
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Just out of curiosity, do you backup all the generated metadata too? I backup my Plex folder from my SSD to my unraid array weekly, and it takes quite a long time to get through.

        • Scrubbles@poptalk.scrubbles.tech
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Yep, everything that’s attached to plex I backup (excluding media, that’s done elsewhere). There are tens of thousands of tiny files which is why it takes so long, I do recommend taring it first. The archive must support symlinks which is why I chose tar.

          • Yoruio@lemmy.caM
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I do tar it first (actually I tar my entire docker share), but it still takes longer than I would like.

            Just the way my backup system works, All my docker containers go down while I’m backing them up, so it’s a bit of a minor inconvenience (even though it only happens on off peak hours in the middle of the night)

            Really not a big problem, just thought I’d check if you had a better solution.

            • Scrubbles@poptalk.scrubbles.tech
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              Yeah, that’s because every little file and image need to be stored, and there’s tens of thousands of them. Nothing wrong with it, just will take time. I usually do my plex DB on a weekly cron in the middle of the night

        • astrsk@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          You might want to look at how you’re backing up. Something like BorgBackup or better RSync scripts would benefit this process by only taking differences instead of a full backup. Unless you’re constantly adding and deleting media daily, a weekly Plex backup shouldn’t really take a long time.