# PMS Migration - Linux

**URL:** <https://forums.plex.tv/t/pms-migration-linux/678445>\
**Category:** General Discussions\
**Tags:** server-linux\
**Created:** [January 15, 2021, 4:09am UTC](https://forums.plex.tv/t/pms-migration-linux/678445 "2021-01-15T04:09:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 15, 2021, 4:38am UTC](https://forums.plex.tv/t/pms-migration-linux/678445/2 "2021-01-15T04:38:08Z")

</div>

It’s going to be hysterically simple:

1. Replicate the `/etc/fstab` media mounts from the first on the second.
2. Install Plex ( plex.tv/downloads ) but don’t open it. This creates the user , services, and directory.
3. Stop Plex. (fresh installs automatically start
4. Go to the original system
5. Stop Plex
6. cd /var/lib/plexmediaserver
7. `sudo tar cf /path/to/somewhere/PlexClone.tar ./Library`
8. When it finishes, take it to the new system.
9. Decommission the original (delete Preferences.xml at absolute minimum)

On the new.

1. Verify user `plex:plex` (or ‘other’) can read the media
2. `cd /var/lib/plexmediaserver`
3. `sudo mv Library Library.unused`
4. `sudo tar xf /path/to/PlexClone.tar` (the file you brought over from the original)
5. `sudo chown -R plex:plex ./Library`
6. `sudo rm -rf Library.unused` (you don’t need it now)

If you’ve got all the mounts and permissions correct,

`sudo systemctl start plexmediaserver`

It will spin up and resume as if nothing ever happened.

---

_[View the full topic](https://forums.plex.tv/t/pms-migration-linux/678445)._
