Migrate Plex data form QNAP to another QNAP

My current NAS (QNAP) is running low on disk space, I have seeded the data to another NAS (QNAP). Plex is installed on both devices.

When connecting to the source QNAP via WinSCP; I have found the Plex directory is located in the following directory “share/CACHEDEV1_DATA/ .qpkg/PlexMediaServer” ; I then navigated to the destination QNAP via WinSCP and noticed there is no PlexMediaServer under the .qpkg directory. I believe this does exist given I have not logged into Plex on destination QNAP.

Should I login with the credentials on the destination NAS to propagate the PlexMediaServer directory or no?

Should I just copy and paste the PlexMediaServer folder from the source to the destination, then login? Then the migration is complete?

Have Plex pass lifetime.

What I am looking to accomplish:

  1. retain Watched
  2. retain custom posters
  3. retain Activity such as Top Users, Top Played, Play history and stats ranging from 30 days to all time

If someone has a detailed video or instructions on how to accomplish this, I would be grateful.

  1. /share/CACHEDEVx_DATA/.qpkg/PlexMediaServer will exist somewhere if you’ve installed PMS on that host.

  2. You cannot transfer the server from one host to another until PMS is installed on that host.

  3. Once installed on both –
    – Create the PlexData shared folder as shown in the below How-To
    – It’s important PMS be started and then stopped once after creating the shared folder (it populates the locations for you)

  4. Now make a backup (ZIP) of the contents of “PlexData/Plex Media Server” (you must get into the Plex Media Server directory to see all files and subfolders)

  5. When the ZIP is complete, transport it to the same directory on the new machine

  6. UNZIP it

  7. At this point, you will have cloned server 1.
    – If you want to change this and make a “server 2” with the same data,
    – DELETE “Preferences.xml”
    – Start PMS
    – Claim it

Make sense?

Thanks, Looks like I can skip the PLexData share as it states optional or is it a must?

If I do decide to use PLexData, is this the correct way? The instructions are a bit dated.



The instructions may be dated but they are current. Please follow as written and use Defaults. (Do NOT manually place the folder inside a .qpkg directory as you’ll defeat the whole purpose)

PlexData

Is the exact upper/lower case you are to use.

By doing this, PMS will use that shared folder automatically.

No manual intervention is required on your part.

In the future, should you move PMS to a different volume on the NAS. it will automatically track to that new location.

Supplemental:

This is how it looks when created.

  1. The shared folder can exist on any DataVol
  2. It will contain only one entry ; which is a link to the hidden .qpkg directory so you can use FileStation without jumping through craziness.

Step 3 is confusing me. I do not have an existing folder with the name so i skip and go to " : Create an empty file "${QPKG_DIR}/Library/Plex Media Server/.disablePlexDataSymlink""

I navigate to /Share/CACHEDEV1_DATA/ .qpkg/PlexMediaServer via WinSCP and then right click, create new file and name it .disablePlexDataSymlink - I then choose okay and a new window comes up, I am unable to save.

I am trying to make since of this, I am taking these instructions quite literal

Or am I to navigate to /share/CACHEDEV1_DATA/ .qpkg/PlexMediaServer/Library/PlexMediaServer and create the empty file there?
dir

A video tutorial would be amazing.

  1. You create the dummy file IF AND ONLY IFF you have have an existing shared folder named “PlexData”.
    – Some folks have created shared folders (for their media) named “PlexData”
    – The dummy file turns off the PlexData feature and allows the shared folder to be used as a normal shared folder.

You’re over-thinking it. This isn’t hard. I can show you in a screenshot.

  1. Create the EMPTY PlexData shared folder anywhere you want on the first NAS

  2. Stop PMS, Start PMS, then stop it again (so we can make the backup)

  3. Open FileStation

  4. Open “PlexData” and you’ll find this:

  5. Highlight all the files (upper most button in FileStation left corner)

  6. Right-Click → Compress → Give it a name

  7. When that’s done, copy it to the new NAS (where you’ve already installed Plex)

When you copy it to the other NAS, I recommend putting it in the Public shared folder to start

On NAS #2

  1. Create empty Shared Folder “PlexData”
  2. Install PMS
  3. Stop PMS
  4. Open FileStation → PlexData → Plex Media Server
  5. Highlight all the files here (they won’t be used)
  6. Delete them
  7. MOVE /share/Public/YourPlexBackup.zip to this folder
  8. Right click → Unzip here.
  9. When complete – Delete Preferences.xml
  10. Start PMS
  11. Claim it

Yes, I am overthinking, apologies. your flow makes since now

permission error


You turned off admin (per QNAP advice)

For this one step,

  1. Enable admin
  2. Give it a good password
  3. Sign in as admin
  4. Do your work
  5. Disable admin

same result… Going to call QANP on this one unless you can think of something.

Once I do the backup, I suspect, create the same PlexData folder on the destination NAS, then extract and drop the content of the backup into this location, then start PMS and login with the appropriate Plex account, then switch the server from old to new?

I agree, call them.

They can teamviewer in and help you fix it a lot easier than fussing.

My mind just ticked… thinking inheritance… checking advanced folder permissions now.

but once fixed, backup, create the PlexData folder on destination, unzip content and dump in here? then login?

If this is the case, the PLexData folder is like a proxy/staging area, why not just copy and paste between the two, am I missing something?

The PlexData folder is a FAKE overlay area.

It provides a link (to fool FileStation) so you can get into the Plex Media Server directory when there are problems or special cases.

It supersedes the old “PMSLibShare” package and other manual methods because it automatically tracks wherever (which volume) PMS is installed on. (the App Center “migrate to” function)

Problems are things like “Retrieve logs without using SSH when PMS won’t start”

Special cases are “Make a backup of all server data”

I implemented it below the package, in the base filesytem, so it would work with both SSH , SMB (wide mapping), and FileStation

QNAP Connected, we can create, delete edit content in the “PlexData” folder , any child objects below this, denied. Vetted permissions everywhere, solid no issues.

Confirmed PMS service is stopped; QTS version 5.1.1.2491
Also confirmed, same issue on the destination NAS

Did we / I mis something?

1 Like

signed in as the admin user ?

You’re not trying to access the “PlexData” over the network are you?
(it’s local access only)