• 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 General Questions Migrate users

     
    • 1 Vote(s) - 5 Average

    Migrate users

    Maxy TV
    Offline

    Junior Member

    Posts: 19
    Threads: 9
    Joined: 2024 Jan
    Reputation: 0
    #1
    2024-03-07, 11:05 AM (This post was last modified: 2024-03-07, 11:07 AM by Maxy TV. Edited 4 times in total.)
    Hello everyone,

    A while ago, I asked about how to save the created users from one Jellyfin instance to another when migrating.

    Someone responded that I could retrieve the users from the database located at /var/lib/jellyfin/data/jellyfin.db.
    I found the table where the users were stored and imported it into the new Jellyfin instance I installed, but it gave me an error.

    I foresee that I will need to migrate my Jellyfin to another VPS again since it is now affordable for me but only for 1 year. When the year ends, I need to migrate to another host.
    Personally, I don't have a problem with reinstalling and reconfiguring everything again, but something I cannot rescue would be the users. Does anyone know how I can migrate users? Is it possible to migrate the entire Jellyfin instance? The issue is that the location of the libraries might not exist at the time of migration to the new VPS.
    Ideally, I would only migrate the users, and optionally the watched or in-progress content.

    Could anyone help me, please?

    Thank you very much.
    niels
    Offline

    Core Team

    Posts: 246
    Threads: 4
    Joined: 2023 Jun
    Reputation: 12
    Country:Netherlands
    #2
    2024-03-07, 01:11 PM
    You can't just copy over the user table as Jellyfin also stores metadata for each user on the filesystem.
    Maxy TV
    Offline

    Junior Member

    Posts: 19
    Threads: 9
    Joined: 2024 Jan
    Reputation: 0
    #3
    2024-03-08, 04:04 PM
    So, do you suggest that I should also migrate the users' metadata? Where can I find that in order to properly migrate the users?
    niels
    Offline

    Core Team

    Posts: 246
    Threads: 4
    Joined: 2023 Jun
    Reputation: 12
    Country:Netherlands
    #4
    2024-03-08, 06:06 PM
    No I suggest to not copy over users because there is no good way to do that
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-03-08, 06:17 PM
    When I had to restore my Jellyfin after a hardware failure, I copied and pasted the entire /var/lib/jellyfin and /etc/jellyfin folders onto the new system from my daily backup. Jellyfin booted up as if nothing happened. I would have dig in to figure out which files, specifically, contain just the users. But restoring both of those folders is sufficient to restore everything.
    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]
    « 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