Backup current plex config to restore to different nas

You go into the PlexData → Plex Media Server folder.
Highlight everything and zip it all up.

When you restore on the new machine, reverse the process AFTER installing Plex and creating the PlexData share there.