upgrade/migrate Identity password manager

Hi All

I am using One Identity Password Manager x64 version 5.9.5.813 on Windows Server 2012 R2. I want to come up with new Windows Server 2022 or Windows Server 2019 and install One Identity Password Manager. Specifically, I want to export the configuration of the existing VM, import it on the new VM, and then decommission the old VM(uninstall One Identity Password Manager x64 version 5.9.5.813 on the old VM). Could you please provide me with the steps?