With Windows, if I had an OS problem I would back up the program files, reinstall the OS and the program and then copy the backed up program files back on top of the program. That way I got all my previous configuration and options back.
If I was to do the same with Plex because of issues after the move to Ubuntu 22.04 ( I want to reinstall the OS fresh and clean), what files would I need to copy?