Migrating Plex Media Library to a New Linux Server Without Losing Metadata

You’ll want to copy the Plex Data Folder to the new system.

Also, enable Sync Watch State & Ratings for your Plex account. Have anyone you share with enable it for their account as well.

These documents will get you started: