• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Backup Jellyfin on Linux

     
    • 0 Vote(s) - 0 Average

    Backup Jellyfin on Linux

    Backup Jellyfin on Linux
    Daniel E. Shub
    Offline

    Junior Member

    Posts: 2
    Threads: 2
    Joined: 2023 Jul
    Reputation: 0
    #1
    2023-07-14, 03:39 PM
    I am new to Jellyfin and my experience with media servers is so dated as to be worthless. I have a Jellyfin 10.8.10 installed on an Arch Linux VM that I plan on using as my media server. I have my music, movies, and photos stored in local storage mounted at /media. I was able to login to the webpage and get a very basic setup running. I am very impressed so far. Before I go much further and make it available to the rest of my family, I want to make sure I can recover from a total drive failure. I already have /media backed up. I don't care about backing up any data (e.g., cover art) that can be downloaded again. I am ok with losing my watch/listen history, although if it is easy to backup great. What I do not want to lose is the configuration and user created data (e.g., playlists).

    From what I read on line, different installation methods result in different directory structures.

    Code:
    $ cat /etc/conf.d/jellyfin
    # Data directory
    JELLYFIN_DATA_DIRECTORY="/var/lib/jellyfin"
    # Cache directory
    JELLYFIN_CACHE_DIRECTORY="/var/cache/jellyfin"
    # Additional options for the binary
    JELLYFIN_ADD_OPTS=""

    $ ls /var/cache/jellyfin/
    audiodb-album  audiodb-artist  images  temp

    $ ls /var/lib/jellyfin/
    config  data  log  metadata  plugins  root  transcodes

    There is also /usr/lib/jellyfin/ which seems to be system files.

    Can I ignore /var/cache/jellyfin (how big will that grow for a moderate sized home library) in my backup? Do I need all of /var/lib/jellyfin/? Are there other directories that I need to backup?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-07-14, 03:44 PM
    /var/lib/jellyfin has all the persistent data, configs, database, and logs in it. You can ignore /var/lib/jellyfin/log/ since they are, obviously, not needed to restore Jellyfin.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    2
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode