# Moving the plex database to a new drive

**URL:** https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025
**Category:** Plex Media Server
**Tags:** server-windows
**Created:** [April 9, 2020, 8:02pm UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025 "2020-04-09T20:02:30Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Taoism](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/taoism/32/163836_2.png) [@Taoism](https://forums.plex.tv/u/Taoism)
#### Post date: [April 9, 2020, 8:02pm UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/1 "2020-04-09T20:02:31Z")

</div>

Hello, i’d like to move the plex database and it’s stored metadata to a different drive?  
How would one go about this!  
I will run out of room soon on the drive i’m on for the database.  
it is stored in “C:\users\name\appdata\local\plex media server”  
if i move it to “D:\users\name\appdata\local\plex media server”  
I believe plex is not smart enough to notice the move. is there any values i need to change in the registry to make this happen?

Server Version 1.19.1.2645  
Player Version 4.31.1:

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [April 9, 2020, 8:19pm UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/2 "2020-04-09T20:19:33Z")

</div>

From [https://support.plex.tv/articles/202529153-why-is-my-plex-media-server-directory-so-large/](https://support.plex.tv/articles/202529153-why-is-my-plex-media-server-directory-so-large/)

> ### Relocate your Plex Media Server Data Directory
> 
> If the underlying issue is that you’re running out of space on a small boot drive, for instance, then the easiest solution is often simply to relocate the Plex Media Server data directory.
> 
> > **Tip!** : When relocating the data directory, you should make sure you do so to an internal drive on your computer (hard drive or SSD). Moving to a network location can result in poor, unexpected, or even completely broken behavior.
> 
> #### Windows
> 
> For Windows installations, you can make use of the The Path where Local Application Data is Stored general server setting. Refer to information about that setting for details.
> 
> **Related Page** : [General](https://support.plex.tv/articles/200289496-general/)

# 

From [https://support.plex.tv/articles/200289496-general/](https://support.plex.tv/articles/200289496-general/)

> ### Windows Specific Settings
> 
> #### The path where local application data is stored
> 
> You can set the location where your Plex Media Server data directory is located. This is the path to the directory _containing_ the `Plex Media Server` folder.
> 
> > **Note** : Altering this setting will _not_ move the data for you. You will need to ensure the data is in the desired location yourself.
> 
> > **Warning!** : You should not specify a location that resides on a network share/disk.
> 
> **Related Page** : [Where is the Plex Media Server data directory located?](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/)

# 

In short… this should do the trick:

1. stop the Plex Media Server _(step 1 seems redundant… I just like to be cautious and avoid copying data while Plex is writing in its folder)_
2. copy the local data folder (default: `C:\Users\<your user name>\LocalAppData\Plex Media Server\`)
3. start the Plex Media Server
4. enter the path where you moved your [Plex data folder](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/) into `Settings` \> `Server` \> `General` \> `The path where local application data is stored`
5. restart your Plex Media Server

---

<div class="post-metadata">

### Author: ![Taoism](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/taoism/32/163836_2.png) [@Taoism](https://forums.plex.tv/u/Taoism)
#### Post date: [April 9, 2020, 8:21pm UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/3 "2020-04-09T20:21:23Z")

</div>

Thanks [tom80H](https://forums.plex.tv/u/tom80H)

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [April 9, 2020, 8:29pm UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/4 "2020-04-09T20:29:18Z")

</div>

Maybe to be 100% sure things worked:

1. confirm Plex is actually pointing to the new path in RegEdit:   
`HKEY_CURRENT_USER\Software\Plex, Inc.\Plex Media Server\LocalAppDataPath`
2. remove the old app data folder

---

<div class="post-metadata">

### Author: ![Taoism](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/taoism/32/163836_2.png) [@Taoism](https://forums.plex.tv/u/Taoism)
#### Post date: [April 9, 2020, 8:30pm UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/5 "2020-04-09T20:30:29Z")

</div>

Thanks [tom80H](https://forums.plex.tv/u/tom80H) This tom, this will help me alot.

---

<div class="post-metadata">

### Author: ![Taoism](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/taoism/32/163836_2.png) [@Taoism](https://forums.plex.tv/u/Taoism)
#### Post date: [April 10, 2020, 2:41am UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/6 "2020-04-10T02:41:22Z")

</div>

Thanks the how to worked. used regedit to verify.

---

<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: [April 10, 2020, 9:12am UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/7 "2020-04-10T09:12:42Z")

</div>

Same HowTo, with some additional precautions and tips: [Moving Metadata on Windows](https://forums.plex.tv/t/moving-metadata-on-windows/93436/3)

---

<div class="post-metadata">

### Author: ![gillesmongeon](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gillesmongeon](https://forums.plex.tv/u/gillesmongeon)
#### Post date: [May 23, 2020, 7:39am UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/8 "2020-05-23T07:39:47Z")

</div>

Hi, i don’t think this info is valid anymore, i don’t have the option in Version 1.19.3.2843,  
I have been moving the db for years to another bigger SSD,  
can’t change settings in Version 1.19.3.2764 also.

I reinstalled Windows a month ago and had to reinstall over the weekend,  
That option was there last time i installed.

I had to remove the folder “Plex Media Server” create a symlink to it in CMD open as Administrator  
.  
**mklink /J “C:\Users\USER\AppData\Local\Plex Media Server” "K:\AppData\Plex Media Server"**

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [May 23, 2020, 10:11am UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/9 "2020-05-23T10:11:06Z")

</div>

That’s correct. The option in the settings of Plex is gone for security reasons.  
You can still adjust the setting in the Registry of your Windows machine (same setting, same process… just a less convenient way of editing it).

---

<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: [May 23, 2020, 10:17am UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/10 "2020-05-23T10:17:09Z")

</div>

The officially supported method is documented here: [[HowTo] An extended guide on how to move the Plex data folder on Windows](https://forums.plex.tv/t/howto-an-extended-guide-on-how-to-move-the-plex-data-folder-on-windows/197060/1)

---

<div class="post-metadata">

### Author: ![gillesmongeon](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gillesmongeon](https://forums.plex.tv/u/gillesmongeon)
#### Post date: [May 23, 2020, 12:05pm UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/11 "2020-05-23T12:05:42Z")

</div>

Thanks for the help, i got it working with the Regedit earlier.  
The Symlink also works pretty good, didn’t see any problems while i was using it.

---

<div class="post-metadata">

### Author: ![dickvangelder\_gmail\_com](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dickvangelder_gmail_com/32/187141_2.png) [@dickvangelder\_gmail\_com](https://forums.plex.tv/u/dickvangelder_gmail_com)
#### Post date: [May 31, 2020, 8:51am UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/12 "2020-05-31T08:51:09Z")

</div>

The Data file for Plex is indeed taking **too much space on C** : and relocating this is a feature that Plex should have implemented from the start.  
You should not move the Plex Data to an external drive or to a network, but if you have more space on let’s say D: then I strongly suggest you take a look at [https://www.sevenforums.com/tutorials/278262-mklink-create-use-links-windows.html](https://www.sevenforums.com/tutorials/278262-mklink-create-use-links-windows.html)

It works for Spotify too, who already took about 10G on my C drive, where Plex consumed about 24G.

---

<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: [August 29, 2020, 8:51am UTC](https://forums.plex.tv/t/moving-the-plex-database-to-a-new-drive/571025/13 "2020-08-29T08:51:16Z")

</div>

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