ESC

Plex

All Homelab AI & Agents Trading Thoughts
How to migrate a plex server to a new Host

How to migrate a plex server to a new Host

How to Migrate a Plex Server to a New Server (Ubuntu/Linux)

This guide outlines the steps to migrate a Plex Media Server from one Ubuntu server to another while preserving your library data, watch history, and metadata.

Prerequisites

  1. Access: Root or sudo access to both the Source (Old) and Destination (New) servers.
  2. Media: Your actual media files (Movies, TV) must be at the exact same mount path on the new server as they were on the old one. If they change location, you will need to remap them later.
  3. Versions: Ensure both servers are running the same version of Plex Media Server to avoid database compatibility issues.

Step 1: Preparation on Source Server

  1. Disable “Empty Trash”: