Move plex media


Download a SQlite editor
https://sqlitebrowser.org/dl/

Shutdown Plex

BACKUP first and then Open your Database:
"C:\Users\YOUR-USERNAME\AppData\Local\Plex Media Server\Plug-in Support\Databases\com.plexapp.plugins.library.db"

Update everything the used to be in drive C to the same exact path but on drive S

UPDATE section_locations 
SET root_path = REPLACE(root_path, 'C:', 'S:') 
WHERE root_path LIKE 'C:%';

UPDATE media_parts 
SET file = REPLACE(file, 'C:', 'S:') 
WHERE file LIKE 'C:%';

Save the changes and exit your DB editor

Restart Plex

Thanks

No comments: