# Updating media path in Plex database

**URL:** <https://forums.plex.tv/t/updating-media-path-in-plex-database/913462>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [April 16, 2025, 7:42am UTC](https://forums.plex.tv/t/updating-media-path-in-plex-database/913462 "2025-04-16T07:42:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [April 16, 2025, 4:04pm UTC](https://forums.plex.tv/t/updating-media-path-in-plex-database/913462/2 "2025-04-16T16:04:29Z")

</div>

Have look at this post (and the thread in general):

> [@\[HowTo\] Plex database modification - Moving media the right/wrong way](https://forums.plex.tv/t/howto-plex-database-modification-moving-media-the-right-wrong-way/126701/10):
>
> Ok, wow! That was surprisingly easy. Everything seems to be working GREAT! So just so it’s clear. Following my instructions will likely mess up your Library. But it worked wonders for me. AND it is SO easy. Easier than following the nuanced instructions in that article I linked above. Shutdown plex server Backup your data [Backing Up Plex Media Server Data | Plex Support](https://support.plex.tv/hc/en-us/articles/201539237) Copy your content to the new location Drop the triggers that prevent editing your database. Edit your database. Find the lo…

It describes the database modifications necessary to update the media locations if its path changes.

I hope it’s obvious, but back up your database before making any changes. Heck, back up the entire Plex Media Server data directory. And ensure that PMS is stopped while making any DB changes.

---

_[View the full topic](https://forums.plex.tv/t/updating-media-path-in-plex-database/913462)._
