Save plex media serveur

Basically you’ll need the full Plex data directory (/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/).

You can use the support article on how to move to a new setup (knowing it’s not a 100% match… but it’ll cover all important steps).
https://support.plex.tv/articles/201370363-move-an-install-to-another-system/

There’s also a post in the tips & tricks section addressing how to backup/restore your PMS: