• 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 SOLVED: Deleted a user

     
    • 0 Vote(s) - 0 Average

    SOLVED: Deleted a user

    alleycat
    Offline

    Member

    Posts: 69
    Threads: 19
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #1
    2025-01-13, 05:08 PM
    I'm an attempt to fix a connection problem this morning I accidentally deleted a user instead of deleting the device. Can I restore the user or all users, if I have to and how from a backup?
    Jellyfin 10.10.7 (bare metal)
    Ubuntu 24.04.2 LTS, OS 1TB NVMe
    Dell OptiPlex 7050 Intel i7-6700 32GB ram
    Intel Arc A310 ELF
    Storage: TrueNas Mini R Raidz2 45 TiB (Samba shares)
    Gateway: PFsense/HAproxy

    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-13, 05:23 PM
    If you just recreate the user with the same name it will probably retain all of its watch status.

    But there is no "undo" or "restore" function.
    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]
    1
    alleycat
    Offline

    Member

    Posts: 69
    Threads: 19
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #3
    2025-01-13, 06:30 PM
    I was at the "remote" user client (family member) when this happen. I did recreate the same user name and didn't see any of his continue watching items come back up that's why I was thinking I needed/could restore the user. I'm going to be back over there this afternoon and double check the watch status, that would be great if it came back.

    Anyway, thanks for the reply, I appreciate it.
    Jellyfin 10.10.7 (bare metal)
    Ubuntu 24.04.2 LTS, OS 1TB NVMe
    Dell OptiPlex 7050 Intel i7-6700 32GB ram
    Intel Arc A310 ELF
    Storage: TrueNas Mini R Raidz2 45 TiB (Samba shares)
    Gateway: PFsense/HAproxy

    alleycat
    Offline

    Member

    Posts: 69
    Threads: 19
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #4
    2025-01-13, 08:28 PM
    (2025-01-13, 05:23 PM)TheDreadPirate Wrote: If you just recreate the user with the same name it will probably retain all of its watch status.

    But there is no "undo" or "restore" function.

    Just my luck, lol. The new user name (same name & pwd) I recreated didn't retain any watch history (status). The user is disappointed, but my mistake.
    Jellyfin 10.10.7 (bare metal)
    Ubuntu 24.04.2 LTS, OS 1TB NVMe
    Dell OptiPlex 7050 Intel i7-6700 32GB ram
    Intel Arc A310 ELF
    Storage: TrueNas Mini R Raidz2 45 TiB (Samba shares)
    Gateway: PFsense/HAproxy

    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #5
    2025-01-13, 08:32 PM
    Backups are your friend. Make a task that does something like making a copy of the config folder on a weekly basis.

    You'll be able to restore/recover from your errors in the future by having proper backups.
    1
    alleycat
    Offline

    Member

    Posts: 69
    Threads: 19
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #6
    2025-01-13, 08:53 PM
    (2025-01-13, 08:32 PM)Efficient_Good_5784 Wrote: Backups are your friend. Make a task that does something like making a copy of the config folder on a weekly basis.

    You'll be able to restore/recover from your errors in the future by having proper backups.

    I do backups. I was wanting to know if I could restore users from a backup, sorry everyone if I wasn't clear.
    I back these up weekly:

    /etc/jellyfin
    /var/lib/jellyfin
    /var/cache/jellyfin

    Should I just restore all of these?
    Jellyfin 10.10.7 (bare metal)
    Ubuntu 24.04.2 LTS, OS 1TB NVMe
    Dell OptiPlex 7050 Intel i7-6700 32GB ram
    Intel Arc A310 ELF
    Storage: TrueNas Mini R Raidz2 45 TiB (Samba shares)
    Gateway: PFsense/HAproxy

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2025-01-13, 09:09 PM
    Yes. Those three directories would fully restore Jellyfin to a previous state.
    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]
    1
    alleycat
    Offline

    Member

    Posts: 69
    Threads: 19
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #8
    2025-01-13, 09:47 PM
    Thanks guys! Restoring my three backup directories worked. Good thing the backup was from yesterday.
    Jellyfin 10.10.7 (bare metal)
    Ubuntu 24.04.2 LTS, OS 1TB NVMe
    Dell OptiPlex 7050 Intel i7-6700 32GB ram
    Intel Arc A310 ELF
    Storage: TrueNas Mini R Raidz2 45 TiB (Samba shares)
    Gateway: PFsense/HAproxy

    « 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