You can either to an in-place conversion with this tool which will keep all data as it is, but just upgrade the operating system:
https://github.com/plesk/centos2alma
Or you can use Plesk Migrator to migrate to another server. However, Plesk Migrator has some limitations that you can see here...