- Registry Key
- Plex Media Server Folder
Excellent, but where are these located?
The registry key is located at:
HKCU\Software\Plex, Inc.\Plex Media Server
The Plex Media Server folder is located at:
%localappdata%\Plex Media Server
I created a simple batch file to copy the registry key and folder to a NAS device on my home network.
Here is the batch file:
@echo off
I export the registry key and then zip the Plex Media Server folder to my hard drive and then copy it to the NAS device. I then delete the file from my local hard drive.reg export "HKCU\Software\Plex, Inc.\Plex Media Server" p:\plex.reg /y"c:\Program Files\WinRAR\rar.exe" a -r "d:\pms\pms-%date:/=-% %time::=-%.zip" "%localappdata%\Plex Media Server"robocopy d:\pms\ p:\ /E /R:1 /W:1del d:\pms\*.* /q
A few things to keep in mind:
- The Plex Media Server folder can be pretty large. Mine was a little over 6GB.
- The updates folder inside the Plex Media Server Folder can be quite large. Mine had over 2GB of files and they are safe to delete.
- Zipping the folder can take around 20-30 minutes.
Once i created the batch file I created a Scheduled task to run every Sunday at midnight.
No comments:
Post a Comment