Migrate plex server from windows to linux without having to scan all libraries

Ideally, I’d like to start from scratch with my new server, except for the watch and continue watching status. I don’t want to copy over the database or any metadata, really. Doesn’t look like there’s an option for my particular need/want.

once the migration is done and the scan of the libraries is done, there would be no need for the sync as long as a back up is done occasionally for this kind of situation. On my side currently I make a clone of my disk once a week but it remains a task that could be put aside with more options like with emby where my reading history is saved every night so even when I start fresh I restores the backup and the scans are done. It happened without having a backup if not with a backup all the libraries are already there, all that remains is to restore the midnight reading history! whether I go from linux to windows or the opposite it works

would you like to go to linux? or stay under windows.
If you stay under windows nothing is easier than making a clone then backups on occasion if you switch to linux well you have to program plex backups once of course on all the library scanners anew.
if you want to start fresh with windows simply migrate plex without the cache folder it’s much faster.

I’m going from Windows to Windows, but like you, all my media is in GDrive. I need to make some changes to the folder structure, so a re-scan is pretty much a given, and I’m fine with that. Gonna be a very slow process, so I need to keep the old server running during that. On top of that, the current server is hosted remotely, while the new one will be back in-house. Will be interesting…

I’m in-house, but in which direction you should change the destinations, remotely it must not be c: rclone so I understand indeed…
I use AOMEI Backupper under windows to either clone or simply schedule backups of certain folders like plex. I tell you this for the future.

If you need help with the scans you should know that there are precautions to be taken with google so as not to be temporarily banned, If you need advice do not hesitate to write to me in private. I redid my server several times from one system to another I currently have 80 TB of stock and it’s always been good under linux, but under windows it’s more complicated to do without being banned

May I be of assistance here?

The primary subject says it all…

Windows paths and Linux paths are completely different.

  1. Scanning WILL be required – Not avoidable.
  2. Watch history CAN be preserved.

the basis was to have a simple way to switch from windows to linux without having to do all the library scans, but we came to find a way to keep the reading history without result.

This isn’t possible due to pathname syntax. Linux doesn’t have drive letters and the path separator is / not \

This part is trivial two ways.

Thanks for the offer. I’ve migrated only once so far, back in 2017 from in-house to remote, Windows to Windows. Don’t recall how I did it exactly, but I had two servers running for a while. I put all my stuff in GDrive back then, when there was no daily upload limit, otherwise it would have taken forever. Almost six years later, it would be completely impossible :wink:

Anyway, I have no concerns about Google’s API limits and my scans. Rclone pro here :stuck_out_tongue: My plan is to do a letter per library at a time. Will take a while, for sure. I have sliiiiightly more than you.

I know that’s the problem, we don’t have a reading history backup application with plex

@thegrunge

I have written a utility which will read the history from any com.plexapp.plugins.library.db file and insert it into the currently active PMS (on Linux or MacOS bases systems)

Where’s the love for Windows, Chuck? :stuck_out_tongue:

1 Like

with linux I was able to redo everything in 24 hours but with windows I type the quota of I don’t know what I imagine the requests because impossible to download 10 to in 24 hours for me.

it works very well as long as we stay on the same kind of operating system indeed I tested yesterday

the simplicity of not crashing everything in one command error :stuck_out_tongue:

I should have said quota, yes, since the API limits are never an issue with G. There shouldn’t be a difference between Windows and Linux when it comes to scanning with Rclone, but I have no experience with Linux whatsoever.

the 3 times that I went from windows to linus it was very good but the 3 times that I went from linux to windows the scans of the libraries I had to close everything for 24 hours without taking any additional measures

Which OS (distro) are you using?

My tool is written in shell script. It does all the typing you normally would.