# Migrating PMS from Windows to Linux

**URL:** <https://forums.plex.tv/t/migrating-pms-from-windows-to-linux/654162>\
**Category:** Plex Media Server\
**Tags:** server-windows, server-linux\
**Created:** [November 16, 2020, 10:14am UTC](https://forums.plex.tv/t/migrating-pms-from-windows-to-linux/654162 "2020-11-16T10:14:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Turnspit](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@Turnspit](https://forums.plex.tv/u/Turnspit)\
**Post date:** [November 16, 2020, 10:14am UTC](https://forums.plex.tv/t/migrating-pms-from-windows-to-linux/654162/1 "2020-11-16T10:14:47Z")

</div>

Hello everyone!

I’m planning on migrating PMS from my AiO-Windows 10-Server to a dedicated PMS-Server running Ubuntu.

To keep all my content and database intact and as was, would at be as simple as copying the data directory from _%LOCALAPPDATA%\Plex Media Server_ on my Windows machine to _/var/lib/plexmediaserver/Library/Application%20Support/Plex%20Media%20Server/_ on the new Ubuntu machine?

Thanks in advance! 🙂

---

<div class="post-metadata">

**Author:** ![mark\_07](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mark\_07](https://forums.plex.tv/u/mark_07)\
**Post date:** [November 16, 2020, 10:53am UTC](https://forums.plex.tv/t/migrating-pms-from-windows-to-linux/654162/2 "2020-11-16T10:53:17Z")

</div>

I did this exact migration a week ago.

Copying the db files over is the main part, however you need to edit Preferences.xml on your target ubuntu box to match the server IDs of your current windows server.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [February 14, 2021, 10:54am UTC](https://forums.plex.tv/t/migrating-pms-from-windows-to-linux/654162/3 "2021-02-14T10:54:00Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
