# Upgrade PMS on Linux

**URL:** <https://forums.plex.tv/t/upgrade-pms-on-linux/894261>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [November 2, 2024, 6:16pm UTC](https://forums.plex.tv/t/upgrade-pms-on-linux/894261 "2024-11-02T18:16:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![captjohn96](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@captjohn96](https://forums.plex.tv/u/captjohn96)\
**Post date:** [November 2, 2024, 6:16pm UTC](https://forums.plex.tv/t/upgrade-pms-on-linux/894261/1 "2024-11-02T18:16:56Z")

</div>

I am getting ready to rebuild my linux server which PMS is installed on. My media is on a sepearte disk from the OS and I plan to just move this to the new system. My concern is with the library which is installed on the OS drive in “/var/lib/plexmediaserver/Library/" . Is there anything in there that I need to move or can Plex rebuild the databases without loosing anything?

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [November 2, 2024, 6:25pm UTC](https://forums.plex.tv/t/upgrade-pms-on-linux/894261/2 "2024-11-02T18:25:03Z")

</div>

Not a Linux user here, but you can find many good resources about using Plex on Linux in here: [https://forums.plex.tv/tags/c/plex-media-server/computers/server-linux-tips](https://forums.plex.tv/tags/c/plex-media-server/computers/server-linux-tips)

This one might apply in particular:

> [@Moving PMS 'Library'](https://forums.plex.tv/t/moving-pms-library/197342/1):
>
> Moving Plex’s metadata (Library) directory on systemd based systems This information is intended for those systems where cat /proc/1/comm returns systemd. If your system returns init, please see the next post in this thread. While you may change /lib/systemd/system/plexmediaserver.service, it is under the control of the package manager and subject to replacement without warning at any time during an update. To provide stability, systemd allows creation of an override.conf file to customiz…

---

<div class="post-metadata">

**Author:** ![kesawi](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kesawi/32/319418_2.png) [@kesawi](https://forums.plex.tv/u/kesawi)\
**Post date:** [November 2, 2024, 9:41pm UTC](https://forums.plex.tv/t/upgrade-pms-on-linux/894261/3 "2024-11-02T21:41:29Z")

</div>

> [@captjohn96](#):
>
> Is there anything in there that I need to move or can Plex rebuild the databases without loosing anything?

It can but will lose the watched status and any customisations of the metadata. You are therefore better off copying the data as per the link given above.

If the path to the media library will also change then there are additional steps needed as well.

https://support.plex.tv/articles/201370363-move-an-install-to-another-system/

---

<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:** [November 2, 2024, 10:14pm UTC](https://forums.plex.tv/t/upgrade-pms-on-linux/894261/4 "2024-11-02T22:14:51Z")

</div>

@captjohn96

To add to Otto,

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/7):
>
> Backup, Restore, or Clone your PMS installation Backing up your PMS data involves the same steps you’ll need if you were to clone your PMS and take to a new computer, reinstall the operating system, or just want a backup for safe keeping. Making the Backup (General Steps) Stop PMS Invoke the root shell Create the backup image Copy the image to the new system, perform your OS reinstallation, or whatever task you need Restoring a backup image (General Steps) (Re)install PMS itself if on a ne…

This is a How-To

---

<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:** [January 31, 2025, 10:15pm UTC](https://forums.plex.tv/t/upgrade-pms-on-linux/894261/5 "2025-01-31T22:15:49Z")

</div>

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