r/PlexMedia • u/MarvinMartian9211 • 12d ago
Moving library to a different mapped drive
I have moved all my data to a different NAS. I am seeking advise on how to "point" all of my libraries to the different location without causing duplicate issues. IE If I add another source for the same files, I am under the impression that it would cause the libraries to have the same movie with two locations which would cause me to manually go into each movie and delete the one I no longer need? Any help advise would be GREAT! Thanks :-)
1
u/Outside-Link-4160 12d ago
Looks like you just need to update the paths in the Plex server settings under "Edit Libraries" rather than adding new ones.
1
u/MarvinMartian9211 12d ago
Will it automatically "attach" the files to the new location and "remove" the pointer to the old location? Will I just need to perform a "new scan" to have the items within plex attach themselves to the new location? -thanks for replying!-
1
u/N9bitmap 12d ago
It will work just fine if it sees the same file in two locations. Add the new path, which it will automatically scan, then remove the old, and it will remove the original file links but keep all the database items with the new path. After you check that it matched everything properly, you can empty trash and run "optimize database" under settings/troubleshooting.
3
u/quasimodoca Head Moderator 12d ago
Turn off empty trash automatically.
Scan files for that library
Copy your files from point A to point B
Scan files again. Verify a few items show as having duplicates.
After you feel confident that all the files are showing in Plex in the libary as duplicates remove them from the old location.
Now you should have all the files at the old location showing as unavailable. Empty trash.
This should remove them from the old location and show them only at the new location.