• 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: Docker Migration from one server to another?

     
    • 0 Vote(s) - 0 Average

    SOLVED: Docker Migration from one server to another?

    Is it a simple copy of config & cache folders into my new server?
    hov
    Offline

    Junior Member

    Posts: 31
    Threads: 6
    Joined: 2023 Jun
    Reputation: 0
    #1
    2024-06-22, 06:37 AM (This post was last modified: 2024-06-22, 06:46 AM by hov. Edited 1 time in total.)
    I'm trying to migrate my jellyfin from one server to another. I assume I can copy over my jellyfin cache and config folders over to the new server and hope it would just work. Am I missing something? I'm going from a debian to a debian machine. Both are intel cpu machines if that's relevant

    Below is my docker-compose for new jellyfin docker container:
    Code:
    version: "3.8"
    services:
      jellyfin:
        image: ghcr.io/jellyfin/jellyfin:latest
        container_name: jellyfin
        volumes:
          - /opt/stacks/jellyfin/config:/config
          - /opt/stacks/jellyfin/cache:/cache
          - /mnt/NAS/:/NAS
        ports:
          - 8096:8096
        restart: unless-stopped

    Couldn't find anything specific to my case in the migration docs https://jellyfin.org/docs/general/admini...on/migrate
    13100 CPU for server
    Go to solution
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,186
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2024-06-22, 03:08 PM (This post was last modified: 2024-06-22, 03:11 PM by Efficient_Good_5784. Edited 1 time in total.)
    You're correct. The only other folders you need to copy over are your media folders (obviously), especially if you enabled metadata to be saved in them along with your media files too.

    The nice thing about containers is that you can rename folders and still have it mount with another name to the container. So as long as you give the config folder mount the same name as your last container had it, you can store it in any way you wish on your new server.

    Also, it's not really necessary to transfer over the cache folder as that can always be recreated.
    hov
    Offline

    Junior Member

    Posts: 31
    Threads: 6
    Joined: 2023 Jun
    Reputation: 0
    #3
    2024-06-22, 06:02 PM
    Thanks, yeah that was pretty smooth! Love docker for the convenience
    13100 CPU for server
    « 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