TechBuzzPro

Reinstall Plex Without Losing Data: Step-by-Step

· 5 min read · Streaming & TV

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can reinstall Plex Media Server without losing your libraries, watch history, or settings. The key is to back up the Plex data folder (which contains your database and preferences) before uninstalling, then restore it after reinstalling. This guide walks you through the process on Windows, macOS, and Linux.

What You'll Need

  • Access to your Plex server (admin login)
  • An external drive or cloud storage for the backup
  • Your Plex account credentials (to sign in after reinstall)
  • About 30 minutes of time

Step-by-Step

  1. Stop Plex Media Server. Right-click the Plex icon in the system tray (Windows) or menu bar (macOS) and choose “Quit” or “Exit.” On Linux, use sudo systemctl stop plexmediaserver if it runs as a service.
  2. Locate the Plex data folder. The default locations are:
    • Windows: %LOCALAPPDATA%\Plex Media Server
    • macOS: ~/Library/Application Support/Plex Media Server
    • Linux: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server (or ~/.plex for some installs)
  3. Copy the entire data folder to a safe location. Use File Explorer, Finder, or a terminal command like cp -r to copy it to an external drive or cloud folder. This folder contains your database, settings, and metadata.
  4. Uninstall Plex Media Server. Use the standard uninstall method for your OS:
    • Windows: Settings > Apps > Plex Media Server > Uninstall
    • macOS: Drag the Plex app from Applications to Trash (or use an uninstaller if you used one)
    • Linux: Use your package manager (e.g., sudo apt remove plexmediaserver)
    Do not delete the data folder during uninstall – leave it in place if possible, but you already have a backup.
  5. Reinstall Plex Media Server. Download the latest version from the official Plex website (plex.tv) and install it using the standard installer for your OS.
  6. Before first launch, restore your data folder. If the installer created a new empty data folder, replace it with your backup. On Windows, delete the new Plex Media Server folder and copy your backup into the same location. On macOS, do the same in Application Support. On Linux, stop the service, replace the folder, and set proper ownership (sudo chown -R plex:plex /var/lib/plexmediaserver).
  7. Start Plex Media Server. Launch the app or start the service. Sign in with your Plex account. Your libraries, watch history, and settings should appear exactly as before.
  8. Verify everything works. Check that your libraries are intact and that a test playback works. If you see missing metadata, refresh the library manually.

Common Mistakes

  • Forgetting to stop the server before backup. If Plex is running, the database may be in use and the backup could be incomplete. Always quit first.
  • Deleting the data folder during uninstall. Some uninstallers ask if you want to remove user data. Decline that option.
  • Restoring the folder after first launch. If you let Plex create a new database first, it may overwrite your backup. Restore before starting the server.
  • Wrong folder location. On Linux, the data folder is often hidden and requires root access. Double-check the path.
  • Not checking permissions. On Linux, if the restored folder has wrong ownership, Plex may fail to read it.

Tips

  • Make a backup before every major Plex update, not just reinstalls.
  • Use a script or scheduled task to automate backups if you have a large library.
  • If you have a lot of metadata, the backup can be large – compress it to a ZIP file to save space.
  • Keep your Plex account credentials handy; you'll need them to claim the server after reinstall.
  • If you're moving to a new computer, the same backup/restore process works – just copy the folder to the new machine.

Troubleshooting

Server doesn't start after restore

Check the Plex logs (in the data folder under Logs) for errors. Common issues are file permission problems on Linux or a corrupted database. If the database is corrupted, try restoring an older backup.

Libraries are empty

This usually means the data folder wasn't restored correctly. Ensure the folder path is exactly the same as before and that Plex is reading from it. You can verify by checking the server settings – the data folder path should match your backup.

Plex asks to claim the server

This is normal after reinstall. Sign in with your Plex account and follow the prompts to claim the server. Your libraries will appear once you're signed in.

Watch history is missing

If you restored the database, watch history should be there. If not, you may have restored an older backup or the database didn't load. Try restarting Plex after signing in.

If all else fails

You can reinstall again and let Plex create a fresh database, then manually re-add your libraries. You'll lose watch history and settings, but your media files remain untouched.

Frequently Asked Questions

Will reinstalling Plex delete my movies and TV shows?

No. Reinstalling the Plex Media Server only removes the server software. Your media files on disk are not touched. You only need to re-point your libraries to the same folders.

Do I need to back up my media files too?

No. The media files are separate from the Plex data folder. The backup only covers the database and settings, which is what you need to preserve your library structure and watch history.

Can I reinstall Plex on a different drive?

Yes, but you'll need to adjust the data folder location in the server settings after reinstalling, or use a symbolic link. The backup/restore process works the same.

Will my Plex account and remote access settings be preserved?

Yes, if you restore the data folder. Your account is tied to the server, and remote access settings are stored in the database.

How long does the backup take?

It depends on the size of your metadata. For a small library, it may take a few minutes; for a large one with many posters and fan art, it could take 30 minutes or more.

Is it safe to reinstall Plex while the server is running?

No. Always stop the server first to avoid database corruption. Uninstalling while running can also leave files locked.